2025-12-24 11:51:41 +03:30
|
|
|
import 'package:rasadyar_livestock/features/auth/presentation/routes/pages.dart';
|
2025-08-19 11:22:34 +03:30
|
|
|
|
2025-05-21 09:04:21 +03:30
|
|
|
part 'app_routes.dart';
|
2025-05-19 16:17:01 +03:30
|
|
|
|
|
|
|
|
sealed class LiveStockPages {
|
|
|
|
|
LiveStockPages._();
|
|
|
|
|
|
|
|
|
|
static final pages = [
|
2025-12-24 11:51:41 +03:30
|
|
|
|
|
|
|
|
//region Auth Pages
|
|
|
|
|
...AuthLiveStockPages.pages,
|
|
|
|
|
//endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* GetPage(
|
2025-08-03 11:55:57 +03:30
|
|
|
name: LiveStockRoutes.auth,
|
|
|
|
|
page: () => AuthPage(),
|
|
|
|
|
binding: BindingsBuilder(() {
|
|
|
|
|
Get.lazyPut(() => AuthLogic());
|
|
|
|
|
Get.lazyPut(() => CaptchaWidgetLogic());
|
|
|
|
|
}),
|
|
|
|
|
),
|
2025-05-19 16:17:01 +03:30
|
|
|
GetPage(
|
|
|
|
|
name: LiveStockRoutes.init,
|
|
|
|
|
page: () => RootPage(),
|
|
|
|
|
middlewares: [AuthMiddleware()],
|
|
|
|
|
binding: BindingsBuilder(() {
|
2025-05-21 09:04:21 +03:30
|
|
|
Get.put(RootLogic());
|
2025-05-24 15:12:40 +03:30
|
|
|
Get.lazyPut(() => RequestsLogic());
|
2025-05-21 09:04:21 +03:30
|
|
|
Get.lazyPut(() => MapLogic());
|
|
|
|
|
Get.lazyPut(() => ProfileLogic());
|
2025-05-21 14:43:26 +03:30
|
|
|
Get.lazyPut(() => MapWidgetLogic());
|
2025-08-04 15:31:34 +03:30
|
|
|
Get.lazyPut(() => BaseLogic());
|
2025-05-19 16:17:01 +03:30
|
|
|
}),
|
2025-05-24 15:12:40 +03:30
|
|
|
children: [
|
2025-05-25 16:54:43 +03:30
|
|
|
/*GetPage(
|
2025-05-24 15:12:40 +03:30
|
|
|
name: LiveStockRoutes.requestTagging,
|
|
|
|
|
page: () => RequestTaggingPage(),
|
|
|
|
|
middlewares: [AuthMiddleware()],
|
|
|
|
|
binding: BindingsBuilder(() {
|
|
|
|
|
Get.lazyPut(() => RequestTaggingLogic());
|
|
|
|
|
}),
|
2025-05-25 16:54:43 +03:30
|
|
|
),*/
|
|
|
|
|
],
|
2025-05-19 16:17:01 +03:30
|
|
|
),
|
2025-05-25 16:54:43 +03:30
|
|
|
GetPage(
|
|
|
|
|
name: LiveStockRoutes.requestTagging,
|
|
|
|
|
page: () => RequestTaggingPage(),
|
|
|
|
|
middlewares: [AuthMiddleware()],
|
|
|
|
|
binding: BindingsBuilder(() {
|
|
|
|
|
Get.lazyPut(() => RequestTaggingLogic());
|
|
|
|
|
}),
|
|
|
|
|
),
|
|
|
|
|
GetPage(
|
|
|
|
|
name: LiveStockRoutes.tagging,
|
|
|
|
|
page: () => TaggingPage(),
|
|
|
|
|
middlewares: [AuthMiddleware()],
|
|
|
|
|
binding: BindingsBuilder(() {
|
|
|
|
|
Get.lazyPut(() => TaggingLogic());
|
|
|
|
|
}),
|
2025-12-24 11:51:41 +03:30
|
|
|
), */
|
2025-05-19 16:17:01 +03:30
|
|
|
];
|
|
|
|
|
}
|