2025-04-07 16:49:15 +03:30
|
|
|
import 'package:get/get.dart';
|
2025-04-22 15:51:05 +03:30
|
|
|
import 'package:inspection/presentation/routes/app_pages.dart';
|
2025-04-07 16:49:15 +03:30
|
|
|
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';
|
2025-04-15 17:27:48 +03:30
|
|
|
import 'package:rasadyar_app/presentation/pages/system_design/system_design.dart';
|
2025-04-07 16:49:15 +03:30
|
|
|
|
|
|
|
|
part 'app_paths.dart';
|
|
|
|
|
|
|
|
|
|
sealed class AppPages {
|
|
|
|
|
AppPages._();
|
|
|
|
|
|
|
|
|
|
static const String initRoutes = AppPaths.splash;
|
2025-04-15 17:27:48 +03:30
|
|
|
static const String initDesignSystem = AppPaths.systemDesignPage;
|
2025-04-07 16:49:15 +03:30
|
|
|
|
|
|
|
|
static List<GetPage> pages = [
|
2025-04-15 17:27:48 +03:30
|
|
|
GetPage(name: AppPaths.systemDesignPage, page: () => SystemDesignPage()),
|
2025-04-07 16:49:15 +03:30
|
|
|
GetPage(
|
|
|
|
|
name: AppPaths.splash,
|
|
|
|
|
page: () => SplashPage(),
|
|
|
|
|
binding: BindingsBuilder.put(() => SplashLogic()),
|
|
|
|
|
),
|
|
|
|
|
GetPage(
|
|
|
|
|
name: AppPaths.authWithUserAndPass,
|
|
|
|
|
page: () => AuthWithUseAndPassPage(),
|
|
|
|
|
binding: BindingsBuilder.put(() => AuthWithUseAndPassLogic()),
|
|
|
|
|
),
|
2025-04-09 17:05:38 +03:30
|
|
|
|
2025-04-22 15:51:05 +03:30
|
|
|
...InspectionPages.pages,
|
2025-04-07 16:49:15 +03:30
|
|
|
];
|
|
|
|
|
}
|