feat : request tagging and fix chips and fix overflow module in auht
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import 'package:rasadyar_auth/auth.dart';
|
||||
import 'package:rasadyar_core/core.dart';
|
||||
import 'package:rasadyar_core/presentation/widget/map/logic.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/action/logic.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/map/logic.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/profile/logic.dart';
|
||||
import 'package:rasadyar_livestock/presentation/page/request_tagging/logic.dart';
|
||||
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';
|
||||
|
||||
@@ -19,13 +21,23 @@ sealed class LiveStockPages {
|
||||
middlewares: [AuthMiddleware()],
|
||||
binding: BindingsBuilder(() {
|
||||
Get.put(RootLogic());
|
||||
BindingsBuilder.put(() => RootLogic());
|
||||
Get.lazyPut(() => ActionLogic());
|
||||
Get.lazyPut(() => RequestsLogic());
|
||||
Get.lazyPut(() => MapLogic());
|
||||
Get.lazyPut(() => ProfileLogic());
|
||||
Get.lazyPut(() => ProfileLogic());
|
||||
Get.lazyPut(() => MapWidgetLogic());
|
||||
}),
|
||||
children: [
|
||||
GetPage(
|
||||
name: LiveStockRoutes.requestTagging,
|
||||
page: () => RequestTaggingPage(),
|
||||
middlewares: [AuthMiddleware()],
|
||||
binding: BindingsBuilder(() {
|
||||
Get.lazyPut(() => RequestTaggingLogic());
|
||||
}),
|
||||
),
|
||||
]
|
||||
),
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
@@ -4,8 +4,7 @@ sealed class LiveStockRoutes {
|
||||
LiveStockRoutes._();
|
||||
|
||||
static const init = '/liveStock';
|
||||
static const action = '$init/liveStock';
|
||||
static const map = '$init/liveStock';
|
||||
static const profile = '$init/profile';
|
||||
|
||||
static const requests = '/requests';
|
||||
static const profile = '/profile';
|
||||
static const requestTagging = '$init/tagging';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user