33 lines
1.1 KiB
Dart
33 lines
1.1 KiB
Dart
import 'package:get/get.dart';
|
|
|
|
import 'package:rasadyar_app/presentation/pages/auth/auth_with_use_and_pass/logic.dart';
|
|
import 'package:rasadyar_app/presentation/pages/auth/auth_with_use_and_pass/view.dart';
|
|
import 'package:rasadyar_app/presentation/pages/splash/logic.dart';
|
|
import 'package:rasadyar_app/presentation/pages/splash/view.dart';
|
|
import 'package:rasadyar_app/presentation/pages/system_design/system_design.dart';
|
|
|
|
part 'app_paths.dart';
|
|
|
|
sealed class AppPages {
|
|
AppPages._();
|
|
|
|
static const String initRoutes = AppPaths.splash;
|
|
static const String initDesignSystem = AppPaths.systemDesignPage;
|
|
|
|
static List<GetPage> pages = [
|
|
GetPage(name: AppPaths.systemDesignPage, page: () => SystemDesignPage()),
|
|
GetPage(
|
|
name: AppPaths.splash,
|
|
page: () => SplashPage(),
|
|
binding: BindingsBuilder.put(() => SplashLogic()),
|
|
),
|
|
GetPage(
|
|
name: AppPaths.authWithUserAndPass,
|
|
page: () => AuthWithUseAndPassPage(),
|
|
binding: BindingsBuilder.put(() => AuthWithUseAndPassLogic()),
|
|
),
|
|
|
|
...InspectionPages.pages,
|
|
];
|
|
}
|