refactor: point leaf components at domain Pokemon entity

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Maxiwere45 2026-06-09 10:57:51 +02:00
parent b1f67d3daa
commit 2f051c8da6
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import '../models/pokemon.dart';
import '../domain/entities/pokemon.dart';
import 'pokemon_image.dart';
class PokemonTile extends StatelessWidget {

View File

@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import '../models/pokemon.dart';
import '../utils/pokemon_type.dart';
import '../domain/entities/pokemon.dart';
import '../presentation/theme/type_colors.dart';
// Widget qui permet d'afficher un type de Pokémon
// Elle prend en paramètre un type de Pokémon