mirrored_repositories/connect-pets/lib
import 'package:connect_pets/app/common/utils/routes_app.dart';
import 'package:connect_pets/app/common/utils/strings_app.dart';
import 'package:connect_pets/app/features/finish_signup/presenter/finish_signup_screen.dart';
import 'package:connect_pets/app/features/home/presenter/home_screen.dart';
import 'package:connect_pets/app/features/init/init.dart';
import 'package:connect_pets/app/features/login/presenter/login_screen.dart';
import 'package:connect_pets/app/features/refactor_password/presenter/refactor_password_screen.dart';
import 'package:connect_pets/app/features/signup/presenter/signup_screen.dart';
import 'package:connect_pets/app/features/splash/presenter/splash_screen.dart';
import 'package:flutter/material.dart';

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: StringsApp.nameApp,
      debugShowCheckedModeBanner: false,
      initialRoute: '/',
      routes: {
        RoutesApp.root: (context) => const SplashScreen(),
        RoutesApp.initialPage: (context) => const InitScreen(),
        RoutesApp.signup: (context) => const SignupScreen(),
        RoutesApp.finishSignup: (context) => const FinishSignupScreen(),
        RoutesApp.refactorPassword: (context) => const RefactorPasswordScreen(),
        RoutesApp.login: (context) => const LoginScreen(),
        RoutesApp.home: (context) => const HomeScreen(),
      },
    );
  }
}
