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.
mohemm-flutter-app/lib/config/routes.dart

23 lines
916 B
Dart

4 years ago
import 'package:flutter/material.dart';
import 'package:mohem_flutter_app/ui/dashboard.dart';
import 'package:mohem_flutter_app/ui/login/login_screen.dart';
import 'package:mohem_flutter_app/ui/login/verify_login_screen.dart';
4 years ago
class AppRoutes {
static const String splash = "/splash";
static const String registerSelection = "/registerSelection";
static const String loginVerifyAccount = "/loginVerifyAccount";
static const String login = "/login";
static const String verifyLogin = "/verifyLogin";
static const String forgetPassword = "/forgetPassword";
static const String loginVerification = "/loginVerification";
static const String dashboard = "/dashboard";
static const String initialRoute = login;
4 years ago
static final Map<String, WidgetBuilder> routes = {
login: (context) => LoginScreen(),
verifyLogin: (context) => VerifyLoginScreen(),
dashboard: (context) => Dashboard(),
4 years ago
};
}