feat : segmentation page
This commit is contained in:
@@ -20,6 +20,7 @@ import 'package:rasadyar_chicken/presentation/pages/sales_out_of_province/logic.
|
||||
import 'package:rasadyar_chicken/presentation/pages/sales_out_of_province/view.dart';
|
||||
import 'package:rasadyar_chicken/presentation/pages/sales_out_of_province_buyers/logic.dart';
|
||||
import 'package:rasadyar_chicken/presentation/pages/sales_out_of_province_sales_list/logic.dart';
|
||||
import 'package:rasadyar_chicken/presentation/pages/segmentation/logic.dart';
|
||||
import 'package:rasadyar_chicken/presentation/routes/routes.dart';
|
||||
import 'package:rasadyar_chicken/presentation/widget/base_page/logic.dart';
|
||||
import 'package:rasadyar_chicken/presentation/widget/search/logic.dart';
|
||||
@@ -40,6 +41,7 @@ sealed class ChickenPages {
|
||||
Get.lazyPut(() => BuyLogic());
|
||||
Get.lazyPut(() => SaleLogic());
|
||||
Get.lazyPut(() => ProfileLogic());
|
||||
Get.lazyPut(() => SegmentationLogic());
|
||||
}),
|
||||
),
|
||||
|
||||
@@ -53,7 +55,6 @@ sealed class ChickenPages {
|
||||
}),
|
||||
),
|
||||
|
||||
|
||||
//sales
|
||||
GetPage(
|
||||
name: ChickenRoutes.sale,
|
||||
@@ -61,9 +62,9 @@ sealed class ChickenPages {
|
||||
middlewares: [AuthMiddleware()],
|
||||
binding: BindingsBuilder(() {
|
||||
Get.lazyPut(() => SaleLogic());
|
||||
Get.lazyPut(() => BaseLogic());
|
||||
Get.lazyPut(() => SalesOutOfProvinceLogic());
|
||||
Get.lazyPut(() => RootLogic());
|
||||
Get.lazyPut(() => BaseLogic());
|
||||
Get.lazyPut(() => SalesOutOfProvinceLogic());
|
||||
Get.lazyPut(() => RootLogic());
|
||||
}),
|
||||
),
|
||||
GetPage(
|
||||
@@ -83,7 +84,7 @@ sealed class ChickenPages {
|
||||
middlewares: [AuthMiddleware()],
|
||||
binding: BindingsBuilder(() {
|
||||
Get.lazyPut(() => BaseLogic());
|
||||
Get.lazyPut(() => SalesInProvinceLogic());
|
||||
Get.lazyPut(() => SalesInProvinceLogic());
|
||||
Get.lazyPut(() => SearchLogic());
|
||||
}),
|
||||
),
|
||||
@@ -98,7 +99,6 @@ sealed class ChickenPages {
|
||||
Get.lazyPut(() => BuyLogic());
|
||||
}),
|
||||
),
|
||||
|
||||
GetPage(
|
||||
name: ChickenRoutes.buysOutOfProvince,
|
||||
page: () => BuyOutOfProvincePage(),
|
||||
@@ -106,10 +106,9 @@ sealed class ChickenPages {
|
||||
binding: BindingsBuilder(() {
|
||||
Get.lazyPut(() => BaseLogic());
|
||||
Get.lazyPut(() => SearchLogic());
|
||||
Get.lazyPut(() => BuyOutOfProvinceLogic());
|
||||
Get.lazyPut(() => BuyOutOfProvinceLogic());
|
||||
}),
|
||||
),
|
||||
|
||||
GetPage(
|
||||
name: ChickenRoutes.buysInProvince,
|
||||
page: () => BuyInProvincePage(),
|
||||
@@ -117,9 +116,9 @@ sealed class ChickenPages {
|
||||
binding: BindingsBuilder(() {
|
||||
Get.lazyPut(() => BaseLogic());
|
||||
Get.lazyPut(() => SearchLogic());
|
||||
Get.lazyPut(() => BuyInProvinceLogic());
|
||||
Get.lazyPut(() => BuyInProvinceWaitingLogic());
|
||||
Get.lazyPut(() => BuyInProvinceAllLogic());
|
||||
Get.lazyPut(() => BuyInProvinceLogic());
|
||||
Get.lazyPut(() => BuyInProvinceWaitingLogic());
|
||||
Get.lazyPut(() => BuyInProvinceAllLogic());
|
||||
}),
|
||||
),
|
||||
];
|
||||
|
||||
@@ -6,6 +6,7 @@ sealed class ChickenRoutes {
|
||||
static const home = '$_base/home';
|
||||
static const buy = '$_base/buy';
|
||||
static const sale = '$_base/sale';
|
||||
static const segmentation = '$_base/segmentation';
|
||||
|
||||
//buys
|
||||
static const buysOutOfProvince = '$buy/buyOutOfProvince';
|
||||
@@ -14,4 +15,6 @@ sealed class ChickenRoutes {
|
||||
//sales
|
||||
static const salesInProvince = '$sale/SalesInProvince';
|
||||
static const salesOutOfProvince = '$sale/saleOutOfProvince';
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user