todas las clases funcionales

This commit is contained in:
2024-05-16 16:13:59 +02:00
parent 0c1ef39a32
commit 5f4dc6fc01
6 changed files with 119 additions and 75 deletions

View File

@ -64,7 +64,7 @@ Widget build(BuildContext context) {
// Fondo con la imagen
Positioned.fill(
child: Image(
image: AssetImage('assets/logo-fondo.png'),
image: AssetImage('assets/logo-fondo-verde.png'),
fit: BoxFit.cover,
),
),
@ -80,7 +80,7 @@ Widget build(BuildContext context) {
if (hasMes)
Padding(
padding: const EdgeInsets.symmetric(horizontal: 10.0), // Add padding to the divider
child: Divider(color: Colors.blue, thickness: 3.0), // Divider antes del párrafo
child: Divider(color: Colors.green, thickness: 3.0), // Divider antes del párrafo
),
hasText
? ListTile(
@ -89,7 +89,7 @@ Widget build(BuildContext context) {
datos[index],
textAlign: TextAlign.center,
style: TextStyle(
color: hasMes ? Color.fromARGB(255, 0, 0, 0) : Color.fromARGB(255, 0, 0, 0), fontWeight : FontWeight.bold
color: hasMes ? Color.fromARGB(255, 0, 0, 0) : Color.fromARGB(255, 0, 0, 0), fontWeight : FontWeight.bold, fontSize : 22.0
),
),
),
@ -98,7 +98,7 @@ Widget build(BuildContext context) {
if (hasMes)
Padding(
padding: const EdgeInsets.symmetric(horizontal: 100.0), // Add padding to the divider
child: Divider(color: Colors.blue, thickness: 1.0), // Divider después del párrafo
child: Divider(color: Colors.green, thickness: 1.0), // Divider después del párrafo
),
],
);