fix: update image URLs to use TyraDex for Pokémon sprites
This commit is contained in:
parent
5b1ffaede8
commit
5bd3b1f18f
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user