import 'package:flutter/material.dart';
import 'package:mohem_flutter_app/ui/landing/dashboard.dart';
import 'package:mohem_flutter_app/ui/landing/today_attendance_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_login_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 newPassword = "/newPassword";
  static const String loginVerification = "/loginVerification";
  static const String dashboard = "/dashboard";
  static const String todayAttendance = "/todayAttendance";
  static const String initialRoute = login;

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

  static final Map<String, WidgetBuilder> routes = {
    login: (context) => LoginScreen(),
    verifyLogin: (context) => VerifyLoginScreen(),
    dashboard: (context) => Dashboard(),
    newPassword: (context) => NewPasswordScreen(),
    todayAttendance: (context) => TodayAttendanceScreen(),

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