import 'package:flutter/material.dart';
import 'package:mohem_flutter_app/ui/landing/dashboard_screen.dart';
import 'package:mohem_flutter_app/ui/landing/today_attendance_screen.dart';
import 'package:mohem_flutter_app/ui/login/forgot_password_screen.dart';
import 'package:mohem_flutter_app/ui/login/login_screen.dart';
import 'package:mohem_flutter_app/ui/login/new_password_screen.dart';
import 'package:mohem_flutter_app/ui/login/verify_last_login_screen.dart';
import 'package:mohem_flutter_app/ui/login/verify_login_screen.dart';
import 'package:mohem_flutter_app/ui/screens/eit/add_eit.dart';
import 'package:mohem_flutter_app/ui/screens/submenu_screen.dart';
import 'package:mohem_flutter_app/ui/work_list/item_history_screen.dart';
import 'package:mohem_flutter_app/ui/work_list/missing_swipe/missing_swipe_screen.dart';
import 'package:mohem_flutter_app/ui/work_list/work_list_screen.dart';

class AppRoutes {
  static const String splash = "/splash";
  static const String registerSelection = "/registerSelection";
  static const String loginVerifyAccount = "/loginVerifyAccount";
  static const String login = "/login";
  static const String verifyLogin = "/verifyLogin";
  static const String verifyLastLogin = "/verifyLastLogin";
  static const String forgotPassword = "/forgotPassword";
  static const String newPassword = "/newPassword";
  static const String loginVerification = "/loginVerification";
  static const String dashboard = "/dashboard";
  static const String todayAttendance = "/todayAttendance";
  static const String subMenuScreen = "/submenuScreen";
  static const String addEitScreen = "/addeitScreen";
  static const String initialRoute = login;

  //Work List
  static const String workList = "/workList";
  static const String missingSwipe = "/missingSwipe";
  static const String itemHistory = "/itemHistory";

  static final Map<String, WidgetBuilder> routes = {
    login: (context) => LoginScreen(),
    verifyLogin: (context) => VerifyLoginScreen(),
    verifyLastLogin: (context) => VerifyLastLoginScreen(),
    dashboard: (context) => DashboardScreen(),

    subMenuScreen: (context) => SubMenuScreen(),
    newPassword: (context) => NewPasswordScreen(),
    forgotPassword: (context) => ForgotPasswordScreen(),
    todayAttendance: (context) => TodayAttendanceScreen(),
    //eit

    addEitScreen: (context) => AddEITScreen(),

    //Work List
    workList: (context) => WorkListScreen(),
    missingSwipe: (context) => MissingSwipeScreen(),
    itemHistory: (context) => ItemHistoryScreen(),
  };
}
