refactor: point leaf components at domain Pokemon entity
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user