You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.3 KiB
Dart
27 lines
1.3 KiB
Dart
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/presentation/medical_file/medical_file_page.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 const String medicalFilePage = '/medicalFilePage';
|
|
|
|
static Map<String, WidgetBuilder> get routes => {
|
|
initialRoute: (context) => SplashPage(),
|
|
loginScreen: (context) => LoginScreen(),
|
|
landingScreen: (context) => LandingNavigation(),
|
|
register: (context) => RegisterNew(),
|
|
registerStepTwo: (context) => RegisterNewStep2(),
|
|
medicalFilePage: (context) => MedicalFilePage(),
|
|
};
|
|
}
|