diff --git a/lib/pages/game_over_page.dart b/lib/presentation/pages/game_over_page.dart similarity index 100% rename from lib/pages/game_over_page.dart rename to lib/presentation/pages/game_over_page.dart diff --git a/lib/pages/guess_page.dart b/lib/presentation/pages/guess_page.dart similarity index 100% rename from lib/pages/guess_page.dart rename to lib/presentation/pages/guess_page.dart diff --git a/lib/pages/main_page.dart b/lib/presentation/pages/main_page.dart similarity index 100% rename from lib/pages/main_page.dart rename to lib/presentation/pages/main_page.dart diff --git a/lib/pages/pokemon_detail.dart b/lib/presentation/pages/pokemon_detail.dart similarity index 99% rename from lib/pages/pokemon_detail.dart rename to lib/presentation/pages/pokemon_detail.dart index 8caea2d..5fc701c 100644 --- a/lib/pages/pokemon_detail.dart +++ b/lib/presentation/pages/pokemon_detail.dart @@ -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); diff --git a/lib/pages/pokemon_list.dart b/lib/presentation/pages/pokemon_list.dart similarity index 100% rename from lib/pages/pokemon_list.dart rename to lib/presentation/pages/pokemon_list.dart diff --git a/lib/components/pokemon_image.dart b/lib/presentation/widgets/pokemon_image.dart similarity index 100% rename from lib/components/pokemon_image.dart rename to lib/presentation/widgets/pokemon_image.dart diff --git a/lib/components/pokemon_tile.dart b/lib/presentation/widgets/pokemon_tile.dart similarity index 98% rename from lib/components/pokemon_tile.dart rename to lib/presentation/widgets/pokemon_tile.dart index a62d0a9..9ee4374 100644 --- a/lib/components/pokemon_tile.dart +++ b/lib/presentation/widgets/pokemon_tile.dart @@ -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 { diff --git a/lib/components/pokemon_type.dart b/lib/presentation/widgets/pokemon_type.dart similarity index 93% rename from lib/components/pokemon_type.dart rename to lib/presentation/widgets/pokemon_type.dart index 533d1ed..ce8eab9 100644 --- a/lib/components/pokemon_type.dart +++ b/lib/presentation/widgets/pokemon_type.dart @@ -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