import 'package:flutter/material.dart';
import 'package:hmg_flutter_template/ui/dashboard/dashbaord_page.dart';
import 'package:hmg_flutter_template/ui/login/login_method_page.dart';
import 'package:hmg_flutter_template/ui/login/login_page.dart';
import 'package:hmg_flutter_template/ui/login/splash_page.dart';


class AppRoutes {
  static const String initialPage = login;

  //Login
  static const String splash = "/splash";
  static const String registerSelection = "/registerSelection";
  static const String loginMethodsPage = "/loginMethodsPage";
  static const String login = "/login";

  //Dashboard
  static const String dashboard = "/dashboard";
  static const String searchPatient = "/searchPatient";
  static const String searchedFor = "/searchedFor";
  static const String patientProfile = "/patientProfile";
  static const String vitalSigns = "/vitalSigns";

  static final Map<String, WidgetBuilder> routes = {
    //Login
    splash: (BuildContext context) => SplashPage(),
    login: (BuildContext context) => LoginPage(),
    loginMethodsPage: (BuildContext context) => const LoginMethodsPage(),

    //Dashboard
    dashboard: (BuildContext context) => DashboardPage(),
  };
}
