fix: update image URLs to use TyraDex for Pokémon sprites

This commit is contained in:
Maxiwere45 2026-02-03 09:47:15 +01:00
parent 5b1ffaede8
commit 5bd3b1f18f

View File

@ -12,8 +12,8 @@ class Pokemon {
PokemonType type1; PokemonType type1;
PokemonType? type2; PokemonType? type2;
String get imageUrl => 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/$id.png'; String get imageUrl => 'https://raw.githubusercontent.com/Yarkis01/TyraDex/images/sprites/$id/regular.png';
String get shinyImageUrl => 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/shiny/$id.png'; String get shinyImageUrl => 'https://raw.githubusercontent.com/Yarkis01/TyraDex/images/sprites/$id/shiny.png';
String get cryUrl => 'https://pokemoncries.com/cries/$id.mp3'; String get cryUrl => 'https://pokemoncries.com/cries/$id.mp3';
String get formatedName { String get formatedName {