aplicacion terminada, clase widget creada y separacion bloc

This commit is contained in:
2024-05-21 16:52:01 +02:00
parent df5651feac
commit 20a4cb7ab2
7 changed files with 248 additions and 275 deletions

View File

@ -0,0 +1,22 @@
import 'package:flutter/material.dart';
class BackgroundWidget extends StatelessWidget {
final Widget child;
const BackgroundWidget({required this.child, Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Stack(
children: [
Positioned.fill(
child: Image.asset(
'assets/logo-fondo-verde.png',
fit: BoxFit.cover,
),
),
child,
],
);
}
}