simulacion de estados y flujo de notificacion, modificacion de estilos en todas las vistas
This commit is contained in:
@@ -145,6 +145,7 @@ class _LoginPageState extends ConsumerState<LoginPage> {
|
||||
key: ValueKey('loading'),
|
||||
fit: BoxFit.scaleDown,
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
VideoMascot(size: 34, zoom: 1.5),
|
||||
@@ -227,7 +228,7 @@ class _GreenHeader extends StatelessWidget {
|
||||
begin: Alignment.topLeft,
|
||||
end: Alignment.bottomRight,
|
||||
stops: [0.0, 0.6, 1.0],
|
||||
colors: [Color(0xFF0A4A38), Color(0xFF0F6E56), Color(0xFF1D9E75)],
|
||||
colors: [Color(0xFF4A0E26), Color(0xFF6D1234), Color(0xFF9B1B4A)],
|
||||
),
|
||||
),
|
||||
child: SafeArea(
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -23,9 +23,9 @@ class VideoMascot extends StatelessWidget {
|
||||
'assets/animations/blink_saludo.gif',
|
||||
fit: BoxFit.cover,
|
||||
errorBuilder: (context, error, stackTrace) {
|
||||
// Plan B: si el archivo no existe o hay error, mostramos la huellita
|
||||
// Plan B: si el archivo no existe o hay error, mostramos el bote
|
||||
return const Center(
|
||||
child: Icon(Icons.pets, color: Colors.white, size: 48),
|
||||
child: Icon(Icons.delete_outline, color: Colors.white, size: 48),
|
||||
);
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user