mobile_skt/lib/constants/router.dart

20 lines
711 B
Dart

import 'package:get/get.dart';
import 'package:sk_base_mobile/screens/inventory/inventory.dart';
import 'package:sk_base_mobile/screens/login/login.dart';
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';
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()),
GetPage(name: inventory, page: () => const InventoryPage()),
];
}