feat : new auth in chicken

This commit is contained in:
2025-08-02 15:09:06 +03:30
parent fae6703d8d
commit 8b698a8498
27 changed files with 1115 additions and 109 deletions

View File

@@ -13,6 +13,15 @@ sealed class InspectionPages {
InspectionPages._();
static final pages = [
GetPage(
name: InspectionRoutes.auth,
page: () => AuthPage(),
binding: BindingsBuilder(() {
Get.lazyPut(() => AuthLogic());
Get.lazyPut(() => CaptchaWidgetLogic());
}),
),
GetPage(
name: InspectionRoutes.init,
page: () => RootPage(),
@@ -64,13 +73,6 @@ sealed class InspectionPages {
page: () => AddMobileInspectorPage(),
binding: BindingsBuilder.put(() => AddMobileInspectorLogic()),
),
GetPage(
name: InspectionRoutes.auth,
page: () => AuthPage(),
binding: BindingsBuilder(() {
Get.lazyPut(() => AuthLogic());
Get.lazyPut(() => CaptchaWidgetLogic());
}),
),
];
}