vistas de ciudadano, escalar animaciones de mascota, implementacion de chatbot para concientizacion, modificacion de datos de ciudadano, modificacion de vista principal

This commit is contained in:
shinra32
2026-05-23 05:03:05 -06:00
parent 89dcc6250b
commit ca076607c7
39 changed files with 2909 additions and 560 deletions

View File

@@ -141,21 +141,33 @@ class _LoginPageState extends ConsumerState<LoginPage> {
child: AnimatedSwitcher(
duration: const Duration(milliseconds: 200),
child: loading
? const SizedBox(
? const FittedBox(
key: ValueKey('loading'),
width: 20,
height: 20,
child: CircularProgressIndicator(
strokeWidth: 2,
color: Colors.white,
fit: BoxFit.scaleDown,
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
VideoMascot(size: 34, zoom: 1.5),
SizedBox(width: 12),
Text(
'Saludando a Eco...',
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),
),
],
),
)
: const Text(
'Ingresar',
: const FittedBox(
key: ValueKey('text'),
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
fit: BoxFit.scaleDown,
child: Text(
'Ingresar',
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),
),
),
),