42 lines
1.1 KiB
Dart
42 lines
1.1 KiB
Dart
import 'package:get/get.dart';
|
|
|
|
import '../modules/history/bindings/history_binding.dart';
|
|
import '../modules/history/views/history_view.dart';
|
|
import '../modules/home/bindings/home_binding.dart';
|
|
import '../modules/home/views/home_view.dart';
|
|
import '../modules/info/bindings/info_binding.dart';
|
|
import '../modules/info/views/info_view.dart';
|
|
import '../modules/splash_screen/bindings/splash_screen_binding.dart';
|
|
import '../modules/splash_screen/views/splash_screen_view.dart';
|
|
|
|
part 'app_routes.dart';
|
|
|
|
class AppPages {
|
|
AppPages._();
|
|
|
|
static const INITIAL = Routes.HOME;
|
|
|
|
static final routes = [
|
|
GetPage(
|
|
name: _Paths.SPLASH_SCREEN,
|
|
page: () => const SplashScreenView(),
|
|
binding: SplashScreenBinding(),
|
|
),
|
|
GetPage(
|
|
name: _Paths.HOME,
|
|
page: () => const HomeView(),
|
|
binding: HomeBinding(),
|
|
),
|
|
GetPage(
|
|
name: _Paths.INFO,
|
|
page: () => const InfoView(),
|
|
binding: InfoBinding(),
|
|
),
|
|
GetPage(
|
|
name: _Paths.HISTORY,
|
|
page: () => const HistoryView(),
|
|
binding: HistoryBinding(),
|
|
),
|
|
];
|
|
}
|