Cambio interfaz home (prueba), error en enlace Tiempo y noticias faltan mejoras

This commit is contained in:
2024-05-16 12:28:25 +02:00
parent eec626ac3a
commit 0c1ef39a32
7 changed files with 102 additions and 58 deletions

View File

@ -20,7 +20,7 @@ class MyHomePage extends StatelessWidget {
decoration: const BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/logo-fondo.png'),
image: AssetImage('assets/logo-fondo-verde.png'),
fit: BoxFit.cover,
),
@ -35,21 +35,21 @@ class MyHomePage extends StatelessWidget {
MaterialPageRoute(builder: (context) => const NoticiasPage()),
);},
child: SizedBox(
width: 300.0,
width: 250.0,
child: Padding(
padding: const EdgeInsets.only(bottom: 20.0),
child: Container(
padding: const EdgeInsets.all(8.0),
decoration: BoxDecoration(
color: Color.fromARGB(255, 43, 102, 150),
color: Color.fromARGB(255, 78, 169, 6),
borderRadius: BorderRadius.circular(7.0),
),
child: const Text(
'Noticias',
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
fontSize: 32.0,
color: Color.fromARGB(255, 255, 255, 255),
fontSize: 27.0,
fontWeight: FontWeight.bold,
),
),
@ -65,13 +65,13 @@ class MyHomePage extends StatelessWidget {
);
},
child: SizedBox(
width: 300.0,
width: 250.0,
child: Padding(
padding: const EdgeInsets.only(bottom: 20.0),
child: Container(
padding: const EdgeInsets.all(8.0),
decoration: BoxDecoration(
color: Color.fromARGB(255, 43, 102, 150),
color: Color.fromARGB(255, 78, 169, 6),
borderRadius: BorderRadius.circular(7.0),
),
child: const Text(
@ -79,7 +79,7 @@ class MyHomePage extends StatelessWidget {
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
fontSize: 32.0,
fontSize: 27.0,
fontWeight: FontWeight.bold,
),
),
@ -95,13 +95,13 @@ class MyHomePage extends StatelessWidget {
);
},
child: SizedBox(
width: 300.0,
width: 250.0,
child: Padding(
padding: const EdgeInsets.only(bottom: 20.0),
child: Container(
padding: const EdgeInsets.all(8.0),
decoration: BoxDecoration(
color: Color.fromARGB(255, 43, 102, 150),
color: Color.fromARGB(255, 78, 169, 6),
borderRadius: BorderRadius.circular(7.0),
),
child: const Text(
@ -109,7 +109,7 @@ class MyHomePage extends StatelessWidget {
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
fontSize: 32.0,
fontSize: 27.0,
fontWeight: FontWeight.bold,
),
),
@ -122,13 +122,13 @@ class MyHomePage extends StatelessWidget {
launchAemetURL();
},
child: SizedBox(
width: 300.0,
width: 250.0,
child: Padding(
padding: const EdgeInsets.only(bottom: 20.0),
child: Container(
padding: const EdgeInsets.all(8.0),
decoration: BoxDecoration(
color: Color.fromARGB(255, 43, 102, 150),
color: Color.fromARGB(255, 78, 169, 6),
borderRadius: BorderRadius.circular(7.0),
),
child: const Text(
@ -136,7 +136,7 @@ class MyHomePage extends StatelessWidget {
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
fontSize: 32.0,
fontSize: 27.0,
fontWeight: FontWeight.bold,
),
),