Files
rasadyar_application/lib/presentation/routes/app_pages.dart

33 lines
1.1 KiB
Dart
Raw Normal View History

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';
2025-04-15 17:27:48 +03:30
import 'package:rasadyar_app/presentation/pages/system_design/system_design.dart';
2025-04-09 17:05:38 +03:30
import 'package:supervision/supervision.dart';
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;
static List<GetPage> pages = [
2025-04-15 17:27:48 +03:30
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()),
),
2025-04-09 17:05:38 +03:30
...SupervisionPages.pages,
];
}