refactor: move UI into presentation/widgets and presentation/pages

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Maxiwere45 2026-06-09 11:41:41 +02:00
parent 29d2c92b37
commit 439c0101f4
8 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import '../models/pokemon.dart';
import '../components/pokemon_type.dart';
import '../components/pokemon_image.dart';
import '../../domain/entities/pokemon.dart';
import '../widgets/pokemon_type.dart';
import '../widgets/pokemon_image.dart';
class PokemonDetailPage extends StatefulWidget {
const PokemonDetailPage({Key? key}) : super(key: key);

View File

@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import '../domain/entities/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 '../domain/entities/pokemon.dart';
import '../presentation/theme/type_colors.dart';
import '../../domain/entities/pokemon.dart';
import '../theme/type_colors.dart';
// Widget qui permet d'afficher un type de Pokémon
// Elle prend en paramètre un type de Pokémon