2024-03-18 13:23:58 +08:00
|
|
|
import 'package:get/get.dart';
|
2024-04-08 13:50:23 +08:00
|
|
|
import 'package:sk_base_mobile/screens/hr_manage/hr_manage.dart';
|
2024-03-27 11:06:01 +08:00
|
|
|
import 'package:sk_base_mobile/screens/inventory/inventory.dart';
|
2024-03-18 13:23:58 +08:00
|
|
|
import 'package:sk_base_mobile/screens/login/login.dart';
|
2024-04-01 08:41:52 +08:00
|
|
|
import 'package:sk_base_mobile/screens/sale_quotation/sale_quotation.dart';
|
2024-03-18 13:23:58 +08:00
|
|
|
|
2024-03-19 11:09:07 +08:00
|
|
|
import '../screens/landing/landing.dart';
|
2024-03-18 13:23:58 +08:00
|
|
|
import '../screens/mine/useinfo/userinfo.dart';
|
|
|
|
|
|
|
|
class RouteConfig {
|
|
|
|
static const String home = "/";
|
|
|
|
static const String login = '/login';
|
|
|
|
static const String userinfo = '/userinfo';
|
2024-03-27 11:06:01 +08:00
|
|
|
static const String inventory = '/inventory';
|
2024-04-01 08:41:52 +08:00
|
|
|
static const String saleQuotation = '/sale_quotation';
|
2024-04-08 13:50:23 +08:00
|
|
|
static const String hrManage = '/hr_manage';
|
2024-04-01 08:41:52 +08:00
|
|
|
|
2024-03-18 13:23:58 +08:00
|
|
|
static final List<GetPage> getPages = [
|
|
|
|
GetPage(name: login, page: () => LoginScreen()),
|
|
|
|
GetPage(name: home, page: () => LandingPage()),
|
|
|
|
GetPage(name: userinfo, page: () => UserInfoPage()),
|
2024-03-31 17:13:29 +08:00
|
|
|
GetPage(name: inventory, page: () => const InventoryPage()),
|
2024-04-08 13:50:23 +08:00
|
|
|
GetPage(name: saleQuotation, page: () => SaleQuotationPage()),
|
|
|
|
GetPage(name: hrManage, page: () => HrManagePage())
|
2024-03-18 13:23:58 +08:00
|
|
|
];
|
|
|
|
}
|