Cambio interfaz home (prueba), error en enlace Tiempo y noticias faltan mejoras
This commit is contained in:
@ -77,23 +77,32 @@ Widget build(BuildContext context) {
|
||||
final hasMes = meses.any((mes) => datos[index].toLowerCase().contains(mes));
|
||||
return Column(
|
||||
children: [
|
||||
if (hasMes) Divider(color: Colors.blue, thickness: 3.0), // Divider antes del párrafo
|
||||
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
|
||||
),
|
||||
hasText
|
||||
? ListTile(
|
||||
title: Center(
|
||||
child: Text(
|
||||
datos[index],
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
color: hasMes ? Color.fromARGB(255, 0, 0, 0) : Color.fromARGB(255, 0, 0, 0),
|
||||
color: hasMes ? Color.fromARGB(255, 0, 0, 0) : Color.fromARGB(255, 0, 0, 0), fontWeight : FontWeight.bold
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
: SizedBox.shrink(),
|
||||
if (hasMes) Divider(color: Colors.blue, thickness: 1.0), // Divider después del párrafo
|
||||
],
|
||||
);
|
||||
},
|
||||
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
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
shrinkWrap: true, // Ajusta el tamaño de ListView al contenido
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user