feat : request and request tagging
This commit is contained in:
@@ -8,6 +8,8 @@ import 'package:rasadyar_livestock/presentation/page/request_tagging/view.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/requests/logic.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/root/logic.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/root/view.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/tagging/logic.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/tagging/view.dart';
|
||||
|
||||
part 'app_routes.dart';
|
||||
|
||||
@@ -26,18 +28,35 @@ sealed class LiveStockPages {
|
||||
Get.lazyPut(() => ProfileLogic());
|
||||
Get.lazyPut(() => ProfileLogic());
|
||||
Get.lazyPut(() => MapWidgetLogic());
|
||||
Get.lazyPut(() => DraggableBottomSheetController());
|
||||
}),
|
||||
children: [
|
||||
GetPage(
|
||||
/*GetPage(
|
||||
name: LiveStockRoutes.requestTagging,
|
||||
page: () => RequestTaggingPage(),
|
||||
middlewares: [AuthMiddleware()],
|
||||
binding: BindingsBuilder(() {
|
||||
Get.lazyPut(() => RequestTaggingLogic());
|
||||
}),
|
||||
),
|
||||
]
|
||||
),*/
|
||||
],
|
||||
),
|
||||
|
||||
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());
|
||||
}),
|
||||
),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -6,5 +6,8 @@ sealed class LiveStockRoutes {
|
||||
static const init = '/liveStock';
|
||||
static const requests = '/requests';
|
||||
static const profile = '/profile';
|
||||
static const requestTagging = '$init/tagging';
|
||||
|
||||
//static const requestTagging = '$init/tagging';
|
||||
static const requestTagging = '$requests/tagging';
|
||||
static const tagging = '/tagging';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user