mobile_skt/lib/constants/router.dart

20 lines
705 B
Dart
Raw Normal View History

import 'package:get/get.dart';
2024-03-27 11:06:01 +08:00
import 'package:sk_base_mobile/screens/inventory/inventory.dart';
import 'package:sk_base_mobile/screens/login/login.dart';
2024-03-19 11:09:07 +08:00
import '../screens/landing/landing.dart';
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';
static final List<GetPage> getPages = [
GetPage(name: login, page: () => LoginScreen()),
GetPage(name: home, page: () => LandingPage()),
GetPage(name: userinfo, page: () => UserInfoPage()),
2024-03-27 11:06:01 +08:00
GetPage(name: inventory, page: () => InventoryPage()),
];
}