Multitud de iconos más
This commit is contained in:
@@ -37,6 +37,7 @@ class IconoFarolero extends StatelessWidget {
|
||||
if (icono == Icons.home) return 'assets/ui/generated/icons/nav_home.webp';
|
||||
if (icono == Icons.replay) return 'assets/ui/generated/icons/action_replay.webp';
|
||||
if (icono == Icons.save) return 'assets/ui/generated/icons/action_save.webp';
|
||||
if (icono == Icons.settings_rounded) return 'assets/ui/generated/icons/settings_gear.webp';
|
||||
if (icono == Icons.delete_outline) return 'assets/ui/generated/icons/action_delete.webp';
|
||||
if (icono == Icons.lock) return 'assets/ui/generated/icons/status_lock.webp';
|
||||
if (icono == Icons.key) return 'assets/ui/generated/icons/status_key.webp';
|
||||
@@ -53,6 +54,11 @@ class IconoFarolero extends StatelessWidget {
|
||||
return 'assets/ui/generated/icons/status_cancel.webp';
|
||||
}
|
||||
if (icono == Icons.link_off) return 'assets/ui/generated/icons/status_disconnected.webp';
|
||||
if (icono == Icons.alternate_email) return 'assets/ui/generated/icons/profile_identity.webp';
|
||||
if (icono == Icons.question_mark_rounded) return 'assets/ui/generated/icons/help_question.webp';
|
||||
if (icono == Icons.bolt_rounded) return 'assets/ui/generated/icons/quick_bolt.webp';
|
||||
if (icono == Icons.mood) return 'assets/ui/generated/icons/mood_happy.webp';
|
||||
if (icono == Icons.sentiment_dissatisfied) return 'assets/ui/generated/icons/mood_sad.webp';
|
||||
if (icono == Icons.search ||
|
||||
icono == Icons.person_search ||
|
||||
icono == Icons.gps_fixed) {
|
||||
@@ -65,20 +71,22 @@ class IconoFarolero extends StatelessWidget {
|
||||
if (icono == Icons.theater_comedy ||
|
||||
icono == Icons.theater_comedy_rounded ||
|
||||
icono == Icons.psychology) {
|
||||
return 'assets/ui/generated/actions/action_impostor_mask.webp';
|
||||
return 'assets/ui/generated/icons/impostor_shadow.webp';
|
||||
}
|
||||
if (icono == Icons.emoji_events ||
|
||||
icono == Icons.celebration ||
|
||||
icono == Icons.bar_chart) {
|
||||
return 'assets/ui/generated/actions/action_result_trophy.webp';
|
||||
return icono == Icons.bar_chart
|
||||
? 'assets/ui/generated/icons/stats_chart.webp'
|
||||
: 'assets/ui/generated/icons/winner_laurel.webp';
|
||||
}
|
||||
if (icono == Icons.forum ||
|
||||
icono == Icons.chat_bubble ||
|
||||
icono == Icons.record_voice_over) {
|
||||
return 'assets/ui/generated/actions/action_rules_book.webp';
|
||||
}
|
||||
if (icono == Icons.person ||
|
||||
icono == Icons.groups ||
|
||||
if (icono == Icons.person) return 'assets/ui/generated/icons/profile_player.webp';
|
||||
if (icono == Icons.groups ||
|
||||
icono == Icons.groups_rounded) {
|
||||
return 'assets/ui/generated/actions/action_players_group.webp';
|
||||
}
|
||||
@@ -100,7 +108,7 @@ class IconoFarolero extends StatelessWidget {
|
||||
return 'assets/ui/generated/actions/action_rules_book.webp';
|
||||
}
|
||||
if (icono == Icons.hourglass_bottom || icono == Icons.hourglass_empty) {
|
||||
return 'assets/ui/generated/actions/action_timer_hourglass.webp';
|
||||
return 'assets/ui/generated/icons/timer_hourglass.webp';
|
||||
}
|
||||
if (icono == Icons.play_arrow || icono == Icons.play_arrow_rounded) {
|
||||
return 'assets/ui/generated/actions/action_create_game.webp';
|
||||
|
||||
@@ -154,7 +154,7 @@ class DetalleVotosFarolero extends StatelessWidget {
|
||||
padding: const EdgeInsets.symmetric(vertical: 4),
|
||||
child: Row(
|
||||
children: [
|
||||
Icon(
|
||||
IconoFarolero(
|
||||
fueAlEliminado ? Icons.how_to_vote : Icons.arrow_forward,
|
||||
size: 18,
|
||||
color: fueAlEliminado
|
||||
@@ -372,7 +372,7 @@ class IconoResultadoPremiumFarolero extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
if (icono != Icons.theater_comedy) {
|
||||
return Icon(icono, size: 82, color: TemaApp.colorDorado);
|
||||
return IconoFarolero(icono, size: 82, color: TemaApp.colorDorado);
|
||||
}
|
||||
return Stack(
|
||||
alignment: Alignment.center,
|
||||
@@ -381,7 +381,7 @@ class IconoResultadoPremiumFarolero extends StatelessWidget {
|
||||
offset: const Offset(-18, 12),
|
||||
child: Transform.rotate(
|
||||
angle: -0.10,
|
||||
child: Icon(
|
||||
child: IconoFarolero(
|
||||
Icons.mood,
|
||||
size: 66,
|
||||
color: TemaApp.colorDorado.withValues(alpha: 0.98),
|
||||
@@ -392,7 +392,7 @@ class IconoResultadoPremiumFarolero extends StatelessWidget {
|
||||
offset: const Offset(20, -13),
|
||||
child: Transform.rotate(
|
||||
angle: 0.12,
|
||||
child: Icon(
|
||||
child: IconoFarolero(
|
||||
Icons.sentiment_dissatisfied,
|
||||
size: 70,
|
||||
color: TemaApp.colorDorado.withValues(alpha: 0.98),
|
||||
@@ -826,7 +826,7 @@ class TarjetaImpostoresPremium extends StatelessWidget {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(
|
||||
IconoFarolero(
|
||||
Icons.theater_comedy,
|
||||
size: 20,
|
||||
color: TemaApp.colorAcento,
|
||||
@@ -844,7 +844,7 @@ class TarjetaImpostoresPremium extends StatelessWidget {
|
||||
),
|
||||
if (jugador.eliminado) ...[
|
||||
const SizedBox(width: 8),
|
||||
const Icon(
|
||||
IconoFarolero(
|
||||
Icons.close,
|
||||
size: 16,
|
||||
color: TemaApp.colorTextoSecundario,
|
||||
|
||||
Reference in New Issue
Block a user