Limpieza de peso de imágenes
This commit is contained in:
@@ -33,7 +33,7 @@ class PantallaSeleccionModoJuego extends StatelessWidget {
|
||||
).animate().fadeIn(duration: 320.ms).slideY(begin: -0.12),
|
||||
const SizedBox(height: 34),
|
||||
_ModoCard(
|
||||
marcoAsset: 'assets/ui/generated/mode/mode_single_card_frame.png',
|
||||
marcoAsset: 'assets/ui/generated/mode/mode_single_card_frame.webp',
|
||||
icono: Icons.phone_android_rounded,
|
||||
titulo: l10n.singleDevice,
|
||||
subtitulo: l10n.singleDeviceSubtitle,
|
||||
@@ -50,7 +50,7 @@ class PantallaSeleccionModoJuego extends StatelessWidget {
|
||||
).animate().fadeIn(delay: 120.ms).slideX(begin: -0.08),
|
||||
const SizedBox(height: 16),
|
||||
_ModoCard(
|
||||
marcoAsset: 'assets/ui/generated/mode/mode_multi_card_frame.png',
|
||||
marcoAsset: 'assets/ui/generated/mode/mode_multi_card_frame.webp',
|
||||
icono: Icons.devices_rounded,
|
||||
titulo: l10n.multiDevice,
|
||||
subtitulo: l10n.multiDeviceSubtitle,
|
||||
@@ -93,7 +93,7 @@ class _ModoHero extends StatelessWidget {
|
||||
SizedBox(
|
||||
height: 230,
|
||||
child: Image.asset(
|
||||
'assets/ui/generated/mode/mode_duel_hero.png',
|
||||
'assets/ui/generated/mode/mode_duel_hero.webp',
|
||||
fit: BoxFit.contain,
|
||||
opacity: const AlwaysStoppedAnimation(0.95),
|
||||
),
|
||||
@@ -186,13 +186,6 @@ class _ModoCard extends StatelessWidget {
|
||||
opacity: AlwaysStoppedAnimation(destacado ? 0.22 : 0.18),
|
||||
),
|
||||
),
|
||||
Positioned.fill(
|
||||
child: Image.asset(
|
||||
'assets/ui/premium/card_sheen_overlay.png',
|
||||
fit: BoxFit.cover,
|
||||
opacity: AlwaysStoppedAnimation(destacado ? 0.28 : 0.18),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(18, 18, 14, 18),
|
||||
child: Row(
|
||||
|
||||
Reference in New Issue
Block a user