simulacion de estados y flujo de notificacion, modificacion de estilos en todas las vistas

This commit is contained in:
shinra32
2026-05-23 07:08:49 -06:00
parent ca076607c7
commit 92f570294a
43 changed files with 4335 additions and 2035 deletions

View File

@@ -42,7 +42,7 @@ class EcoFloatingButton extends StatelessWidget {
),
),
),
// ── Mascota Circular (GIF) ──
Container(
width: 65,
@@ -55,13 +55,14 @@ class EcoFloatingButton extends StatelessWidget {
),
clipBehavior: Clip.hardEdge,
child: Transform.scale(
scale: 1.5, // Ajusta este número si quieres el GIF más grande o pequeño
scale:
1.5, // Ajusta este número si quieres el GIF más grande o pequeño
child: Image.asset(
'assets/animations/info.gif',
fit: BoxFit.cover,
errorBuilder: (context, error, stackTrace) {
return const Icon(
Icons.pets,
Icons.delete_outline,
color: AppTheme.primary,
size: 32,
);
@@ -73,4 +74,4 @@ class EcoFloatingButton extends StatelessWidget {
),
);
}
}
}

View File

@@ -15,7 +15,7 @@ class PreventionBanner extends StatelessWidget {
return Container(
padding: const EdgeInsets.all(12),
decoration: BoxDecoration(
color: const Color(0xFFFAEEDA), // amber-50
color: const Color(0xFFF5EDD8), // amber-50
borderRadius: BorderRadius.circular(10),
border: Border.all(color: const Color(0xFFFAC775)),
),
@@ -27,7 +27,7 @@ class PreventionBanner extends StatelessWidget {
child: Icon(
Icons.warning_amber_rounded,
size: 18,
color: Color(0xFFBA7517),
color: Color(0xFFC8A36A),
),
),
const SizedBox(width: 8),
@@ -39,7 +39,7 @@ class PreventionBanner extends StatelessWidget {
'No persigas ni detengas la unidad recolectora.',
style: const TextStyle(
fontSize: 12,
color: Color(0xFF633806),
color: Color(0xFF7A5410),
height: 1.5,
),
),

View File

@@ -36,7 +36,7 @@ class ProgressSteps extends StatelessWidget {
child: Row(
children: [
const Icon(Icons.route_rounded,
size: 16, color: Color(0xFF1D9E75)),
size: 16, color: Color(0xFF9B1B4A)),
const SizedBox(width: 6),
Text(
'Progreso del servicio',
@@ -97,13 +97,13 @@ class _StepRow extends StatelessWidget {
switch (status) {
case _Status.done:
iconBg = const Color(0xFFE1F5EE);
iconColor = const Color(0xFF1D9E75);
iconBg = const Color(0xFFE8D5DB);
iconColor = const Color(0xFF9B1B4A);
displayIcon = Icons.check_rounded;
break;
case _Status.active:
iconBg = const Color(0xFFFAEEDA);
iconColor = const Color(0xFFBA7517);
iconBg = const Color(0xFFF5EDD8);
iconColor = const Color(0xFFC8A36A);
displayIcon = data.icon;
break;
case _Status.pending:
@@ -154,7 +154,7 @@ class _StepRow extends StatelessWidget {
padding:
const EdgeInsets.symmetric(horizontal: 8, vertical: 3),
decoration: BoxDecoration(
color: const Color(0xFFFAEEDA),
color: const Color(0xFFF5EDD8),
borderRadius: BorderRadius.circular(100),
),
child: const Text(
@@ -162,7 +162,7 @@ class _StepRow extends StatelessWidget {
style: TextStyle(
fontSize: 11,
fontWeight: FontWeight.w500,
color: Color(0xFF633806),
color: Color(0xFF7A5410),
),
),
),