Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

31 line
1.3KB

  1. // lib/routes/app_routes.dart
  2. // Il n'est plus nécessaire d'importer les écrans ici
  3. /// Contient les noms des routes de l'application sous forme de constantes statiques.
  4. abstract final class AppRoutes {
  5. static const String profileSetup = '/profile-setup';
  6. static const String mediaPicker = '/media-picker';
  7. static const String aiEnhancement = '/ai-enhancement';
  8. static const String textGeneration = '/text-generation';
  9. static const String postPreview = '/post-preview';
  10. static const String postRefinement = '/post-refinement'; // <-- Route conservée
  11. static const String export = '/export';
  12. static const String imagePreview = '/image-preview';
  13. static const String login = '/login';
  14. static const String home = '/home';
  15. // Ce bloc n'est plus utilisé car on utilise onGenerateRoute dans main.dart
  16. // Vous pouvez le supprimer complètement pour nettoyer le code.
  17. /*
  18. static Map<String, WidgetBuilder> get routes => {
  19. mediaPicker: (_) => const MediaPickerScreen(),
  20. profileSetup: (_) => const ProfileSetupScreen(),
  21. aiEnhancement: (_) => const AiEnhancementScreen(),
  22. textGeneration: (_) => const TextGenerationScreen(),
  23. postPreview: (_) => const PostPreviewScreen(),
  24. export: (_) => const ExportScreen(),
  25. imagePreview: (_) => const ImagePreviewScreen(),
  26. };
  27. */
  28. }