56 lines
1.5 KiB
Dart
56 lines
1.5 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/jadwal/bindings/jadwal_binding.dart';
|
|
import '../modules/jadwal/views/jadwal_view.dart';
|
|
import '../modules/navbar/bindings/navbar_binding.dart';
|
|
import '../modules/navbar/views/navbar_view.dart';
|
|
import '../modules/notifikasi/bindings/notifikasi_binding.dart';
|
|
import '../modules/notifikasi/views/notifikasi_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.JADWAL,
|
|
page: () => const JadwalView(),
|
|
binding: JadwalBinding(),
|
|
),
|
|
GetPage(
|
|
name: _Paths.HISTORY,
|
|
page: () => const HistoryView(),
|
|
binding: HistoryBinding(),
|
|
),
|
|
GetPage(
|
|
name: _Paths.NAVBAR,
|
|
page: () => const NavbarView(),
|
|
binding: NavbarBinding(),
|
|
),
|
|
GetPage(
|
|
name: _Paths.NOTIFIKASI,
|
|
page: () => const NotifikasiView(),
|
|
binding: NotifikasiBinding(),
|
|
),
|
|
];
|
|
}
|