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
893 B
Dart
27 lines
893 B
Dart
|
4 years ago
|
import 'package:car_customer_app/pages/user/login_verify_account_page.dart';
|
||
|
|
import 'package:car_customer_app/pages/user/register_page.dart';
|
||
|
|
import 'package:car_customer_app/pages/user/register_selection_page.dart';
|
||
|
|
import 'package:car_customer_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 initialRoute = splash;
|
||
|
|
|
||
|
|
static final Map<String, WidgetBuilder> routes = {
|
||
|
|
//User
|
||
|
|
splash: (context) => SplashPage(),
|
||
|
|
registerSelection: (context) => RegisterSelectionPage(),
|
||
|
|
loginVerifyAccount: (context) => LoginVerifyAccountPage(),
|
||
|
|
register: (context) => RegisterPage(),
|
||
|
|
};
|
||
|
|
}
|