2025-05-19 16:16:33 +03:30
|
|
|
import 'package:rasadyar_auth/presentation/pages/modules/logic.dart';
|
|
|
|
|
import 'package:rasadyar_auth/presentation/pages/modules/view.dart';
|
2025-05-17 15:24:06 +03:30
|
|
|
import 'package:rasadyar_auth/presentation/widget/captcha/logic.dart';
|
2025-05-11 11:50:01 +03:30
|
|
|
import 'package:rasadyar_core/core.dart';
|
|
|
|
|
|
2025-05-12 16:55:55 +03:30
|
|
|
import '../pages/auth/logic.dart';
|
|
|
|
|
import '../pages/auth/view.dart';
|
|
|
|
|
|
2025-05-11 11:50:01 +03:30
|
|
|
part 'paths.dart';
|
|
|
|
|
|
|
|
|
|
sealed class AuthPages {
|
|
|
|
|
AuthPages._();
|
|
|
|
|
|
|
|
|
|
static List<GetPage> pages = [
|
|
|
|
|
GetPage(
|
|
|
|
|
name: AuthPaths.moduleList,
|
2025-05-19 16:16:33 +03:30
|
|
|
page: () => ModulesPage(),
|
2025-05-11 11:50:01 +03:30
|
|
|
binding: BindingsBuilder(() {
|
2025-05-19 16:16:33 +03:30
|
|
|
Get.lazyPut(() => ModulesLogic());
|
2025-05-11 11:50:01 +03:30
|
|
|
}),
|
|
|
|
|
),
|
2025-05-12 16:55:55 +03:30
|
|
|
|
2025-05-11 11:50:01 +03:30
|
|
|
GetPage(
|
|
|
|
|
name: AuthPaths.auth,
|
|
|
|
|
page: () => AuthPage(),
|
|
|
|
|
binding: BindingsBuilder(() {
|
|
|
|
|
Get.lazyPut(() => AuthLogic());
|
2025-05-17 15:24:06 +03:30
|
|
|
Get.lazyPut(() => CaptchaWidgetLogic());
|
2025-05-11 11:50:01 +03:30
|
|
|
}),
|
|
|
|
|
),
|
|
|
|
|
];
|
|
|
|
|
}
|