feat: Initialize project

This commit is contained in:
Yaël Perret
2024-10-21 22:03:17 +02:00
parent aefa3309d0
commit e722368fa6
404 changed files with 43535 additions and 2 deletions

30
lib/app/app.dart Normal file
View File

@@ -0,0 +1,30 @@
import 'package:bahla_front/ui/bottom_sheets/notice/notice_sheet.dart';
import 'package:bahla_front/ui/dialogs/info_alert/info_alert_dialog.dart';
import 'package:bahla_front/ui/views/home/home_view.dart';
import 'package:bahla_front/ui/views/startup/startup_view.dart';
import 'package:stacked/stacked_annotations.dart';
import 'package:stacked_services/stacked_services.dart';
// @stacked-import
@StackedApp(
routes: [
MaterialRoute(page: HomeView),
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 {}