|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/presentation/authentication/login.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/presentation/authentication/register.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/presentation/authentication/register_step2.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/presentation/home/landing_page.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/presentation/home/navigation_screen.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/splashPage.dart';
|
|
|
|
|
|
|
|
|
|
class AppRoutes {
|
|
|
|
|
static const String initialRoute = '/initialRoute';
|
|
|
|
|
static const String loginScreen = '/loginScreen';
|
|
|
|
|
static const String register = '/register';
|
|
|
|
|
static const String registerStepTwo = '/registerStepTwo';
|
|
|
|
|
static const String landingScreen = '/landingScreen';
|
|
|
|
|
|
|
|
|
|
static Map<String, WidgetBuilder> get routes => {
|
|
|
|
|
initialRoute: (context) => SplashPage(),
|
|
|
|
|
loginScreen: (context) => LoginScreen(),
|
|
|
|
|
landingScreen: (context) => LandingNavigation(),
|
|
|
|
|
register: (context) => RegisterNew(),
|
|
|
|
|
registerStepTwo: (context) => RegisterNewStep2(),
|
|
|
|
|
};
|
|
|
|
|
}
|