named router with constants to prevent silent bugs
This commit is contained in:
22
lib/core/routes/routes.dart
Normal file
22
lib/core/routes/routes.dart
Normal file
@@ -0,0 +1,22 @@
|
||||
class Routes {
|
||||
static const String login = 'login';
|
||||
static const String setPassword = 'set-password';
|
||||
static const String onboarding = 'onboarding';
|
||||
static const String home = 'home';
|
||||
static const String masterData = 'master-data';
|
||||
static const String products = 'products';
|
||||
static const String companySettings = 'company-settings';
|
||||
static const String staff = 'staff';
|
||||
static const String stores = 'stores';
|
||||
static const String providers = 'providers';
|
||||
static const String settings = 'settings';
|
||||
static const String themeSettings = 'themeSettings';
|
||||
static const String operations = 'operations';
|
||||
static const String customers = 'customers';
|
||||
static const String tickets = 'tickets';
|
||||
static const String ticketForm = 'ticket-form';
|
||||
static const String operationForm = 'operation-form';
|
||||
static const String uploadSuccess = 'upload-success';
|
||||
static const String customerForm = 'customer-form';
|
||||
static const String upload = 'upload';
|
||||
}
|
||||
Reference in New Issue
Block a user