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.
		
		
		
		
		
			
		
			
				
	
	
		
			47 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Dart
		
	
			
		
		
	
	
			47 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Dart
		
	
| import 'package:mohem_flutter_app/pages/dashboard/dashboard_page.dart';
 | |
| import 'package:mohem_flutter_app/pages/user/complete_profile_page.dart';
 | |
| import 'package:mohem_flutter_app/pages/user/forget_password_page.dart';
 | |
| import 'package:mohem_flutter_app/pages/user/login_verification_page.dart';
 | |
| import 'package:mohem_flutter_app/pages/user/login_verify_account_page.dart';
 | |
| import 'package:mohem_flutter_app/pages/user/profile/profile_1_page.dart';
 | |
| import 'package:mohem_flutter_app/pages/user/profile/profile_2_page.dart';
 | |
| import 'package:mohem_flutter_app/pages/user/profile/profile_3_page.dart';
 | |
| import 'package:mohem_flutter_app/pages/user/register_page.dart';
 | |
| import 'package:mohem_flutter_app/pages/user/register_selection_page.dart';
 | |
| import 'package:mohem_flutter_app/pages/user/splash_page.dart';
 | |
| import 'package:flutter/material.dart';
 | |
| 
 | |
| class AppRoutes {
 | |
|   //User
 | |
|   static final String splash = "/splash";
 | |
|   static final String registerSelection = "/registerSelection";
 | |
|   static final String loginVerifyAccount = "/loginVerifyAccount";
 | |
|   static final String register = "/register";
 | |
|   static final String forgetPassword = "/forgetPassword";
 | |
|   static final String loginVerification = "/loginVerification";
 | |
|   static final String dashboard = "/dashboard";
 | |
|   static final String completeProfile = "/completeProfile";
 | |
|   static final String profile1 = "/profile1";
 | |
|   static final String profile2 = "/profile2";
 | |
|   static final String profile3 = "/profile3";
 | |
| 
 | |
| 
 | |
| 
 | |
|   static final String initialRoute = splash;
 | |
| 
 | |
|   static final Map<String, WidgetBuilder> routes = {
 | |
|     //User
 | |
|     splash: (context) => SplashPage(),
 | |
|     registerSelection: (context) => RegisterSelectionPage(),
 | |
|     loginVerifyAccount: (context) => LoginVerifyAccountPage(),
 | |
|     register: (context) => RegisterPage(),
 | |
|     forgetPassword: (context) => ForgetPasswordPage(),
 | |
|     loginVerification: (context) => LoginVerificationPage(),
 | |
|     dashboard: (context) => DashboardPage(),
 | |
|     completeProfile: (context) => CompleteProfilePage(),
 | |
|     profile1: (context) => Profile1Page(),
 | |
|     profile2: (context) => Profile2Page(),
 | |
|     profile3: (context) => Profile3Page(),
 | |
|   };
 | |
| }
 |