Limpieza de peso de imágenes

This commit is contained in:
2026-05-11 20:30:59 +02:00
parent 928cbd8a1d
commit e7c5b08ec0
94 changed files with 181 additions and 246 deletions
+5 -5
View File
@@ -31,7 +31,7 @@ class PantallaPrincipal extends StatelessWidget {
children: [
Positioned.fill(
child: Image.asset(
'assets/ui/generated/main/main_atmosphere_bg.png',
'assets/ui/generated/main/main_atmosphere_bg.webp',
fit: BoxFit.cover,
alignment: Alignment.center,
),
@@ -291,16 +291,16 @@ class _HeroInicioPremium extends StatelessWidget {
children: [
Positioned.fill(
child: Image.asset(
'assets/ui/premium/lantern_radial_glow.png',
'assets/ui/generated/main/main_lantern_hero.webp',
fit: BoxFit.contain,
opacity: const AlwaysStoppedAnimation(0.48),
opacity: const AlwaysStoppedAnimation(0.18),
),
),
Column(
mainAxisSize: MainAxisSize.min,
children: [
Image.asset(
'assets/ui/generated/main/main_lantern_hero.png',
'assets/ui/generated/main/main_lantern_hero.webp',
width: heroSize,
height: heroSize,
fit: BoxFit.contain,
@@ -455,7 +455,7 @@ class _BotonInicioPremium extends StatelessWidget {
children: [
Positioned.fill(
child: Image.asset(
'assets/ui/premium/card_sheen_overlay.png',
'assets/ui/generated/main/main_cta_frame.webp',
fit: BoxFit.cover,
opacity: AlwaysStoppedAnimation(hero ? 0.20 : 0.14),
),