30 lines
894 B
Dart
30 lines
894 B
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:supervision/supervision.dart';
|
|
|
|
part 'app_paths.dart';
|
|
|
|
sealed class AppPages {
|
|
AppPages._();
|
|
|
|
static const String initRoutes = AppPaths.splash;
|
|
|
|
static List<GetPage> pages = [
|
|
GetPage(
|
|
name: AppPaths.splash,
|
|
page: () => SplashPage(),
|
|
binding: BindingsBuilder.put(() => SplashLogic()),
|
|
),
|
|
GetPage(
|
|
name: AppPaths.authWithUserAndPass,
|
|
page: () => AuthWithUseAndPassPage(),
|
|
binding: BindingsBuilder.put(() => AuthWithUseAndPassLogic()),
|
|
),
|
|
|
|
...SupervisionPages.pages,
|
|
];
|
|
}
|