34 lines
1.1 KiB
Dart
34 lines
1.1 KiB
Dart
import 'package:yimaru_app/ui/bottom_sheets/notice/notice_sheet.dart';
|
|
import 'package:yimaru_app/ui/dialogs/info_alert/info_alert_dialog.dart';
|
|
import 'package:yimaru_app/ui/views/home/home_view.dart';
|
|
import 'package:stacked/stacked_annotations.dart';
|
|
import 'package:stacked_services/stacked_services.dart';
|
|
import 'package:yimaru_app/ui/views/onboarding/onboarding_view.dart';
|
|
import 'package:yimaru_app/ui/views/startup/startup_view.dart';
|
|
import 'package:yimaru_app/ui/views/onboarding/screens/language_selector.dart';
|
|
// @stacked-import
|
|
|
|
@StackedApp(
|
|
routes: [
|
|
MaterialRoute(page: HomeView),
|
|
MaterialRoute(page: OnboardingView),
|
|
MaterialRoute(page: StartupView),
|
|
// @stacked-route
|
|
],
|
|
dependencies: [
|
|
LazySingleton(classType: BottomSheetService),
|
|
LazySingleton(classType: DialogService),
|
|
LazySingleton(classType: NavigationService),
|
|
// @stacked-service
|
|
],
|
|
bottomsheets: [
|
|
StackedBottomsheet(classType: NoticeSheet),
|
|
// @stacked-bottom-sheet
|
|
],
|
|
dialogs: [
|
|
StackedDialog(classType: InfoAlertDialog),
|
|
// @stacked-dialog
|
|
],
|
|
)
|
|
class App {}
|