feat: killHouse action page
This commit is contained in:
@@ -79,6 +79,9 @@ class $AssetsIconsGen {
|
||||
/// File path: assets/icons/call.svg
|
||||
SvgGenImage get call => const SvgGenImage('assets/icons/call.svg');
|
||||
|
||||
/// File path: assets/icons/car_allocation.svg
|
||||
SvgGenImage get carAllocation => const SvgGenImage('assets/icons/car_allocation.svg');
|
||||
|
||||
/// File path: assets/icons/check.svg
|
||||
SvgGenImage get check => const SvgGenImage('assets/icons/check.svg');
|
||||
|
||||
@@ -163,6 +166,9 @@ class $AssetsIconsGen {
|
||||
/// File path: assets/icons/diagram.svg
|
||||
SvgGenImage get diagram => const SvgGenImage('assets/icons/diagram.svg');
|
||||
|
||||
/// File path: assets/icons/direct_purchase.svg
|
||||
SvgGenImage get directPurchase => const SvgGenImage('assets/icons/direct_purchase.svg');
|
||||
|
||||
/// File path: assets/icons/download.svg
|
||||
SvgGenImage get download => const SvgGenImage('assets/icons/download.svg');
|
||||
|
||||
@@ -172,6 +178,9 @@ class $AssetsIconsGen {
|
||||
/// File path: assets/icons/empty.svg
|
||||
SvgGenImage get empty => const SvgGenImage('assets/icons/empty.svg');
|
||||
|
||||
/// File path: assets/icons/enter_cargo_information.svg
|
||||
SvgGenImage get enterCargoInformation => const SvgGenImage('assets/icons/enter_cargo_information.svg');
|
||||
|
||||
/// File path: assets/icons/excel_download.svg
|
||||
SvgGenImage get excelDownload => const SvgGenImage('assets/icons/excel_download.svg');
|
||||
|
||||
@@ -232,6 +241,9 @@ class $AssetsIconsGen {
|
||||
/// File path: assets/icons/logout.svg
|
||||
SvgGenImage get logout => const SvgGenImage('assets/icons/logout.svg');
|
||||
|
||||
/// File path: assets/icons/management_bars.svg
|
||||
SvgGenImage get managementBars => const SvgGenImage('assets/icons/management_bars.svg');
|
||||
|
||||
/// File path: assets/icons/map.svg
|
||||
SvgGenImage get map => const SvgGenImage('assets/icons/map.svg');
|
||||
|
||||
@@ -250,6 +262,9 @@ class $AssetsIconsGen {
|
||||
/// File path: assets/icons/note_remove.svg
|
||||
SvgGenImage get noteRemove => const SvgGenImage('assets/icons/note_remove.svg');
|
||||
|
||||
/// File path: assets/icons/orders_received.svg
|
||||
SvgGenImage get ordersReceived => const SvgGenImage('assets/icons/orders_received.svg');
|
||||
|
||||
/// File path: assets/icons/outside.svg
|
||||
SvgGenImage get outside => const SvgGenImage('assets/icons/outside.svg');
|
||||
|
||||
@@ -328,6 +343,9 @@ class $AssetsIconsGen {
|
||||
/// File path: assets/icons/shopping_basket.svg
|
||||
SvgGenImage get shoppingBasket => const SvgGenImage('assets/icons/shopping_basket.svg');
|
||||
|
||||
/// File path: assets/icons/submit_request.svg
|
||||
SvgGenImage get submitRequest => const SvgGenImage('assets/icons/submit_request.svg');
|
||||
|
||||
/// File path: assets/icons/tag_label.svg
|
||||
SvgGenImage get tagLabel => const SvgGenImage('assets/icons/tag_label.svg');
|
||||
|
||||
@@ -364,6 +382,9 @@ class $AssetsIconsGen {
|
||||
/// File path: assets/icons/virtual.svg
|
||||
SvgGenImage get virtual => const SvgGenImage('assets/icons/virtual.svg');
|
||||
|
||||
/// File path: assets/icons/warehouse_distribution.svg
|
||||
SvgGenImage get warehouseDistribution => const SvgGenImage('assets/icons/warehouse_distribution.svg');
|
||||
|
||||
/// File path: assets/icons/whare_house.svg
|
||||
SvgGenImage get whareHouse => const SvgGenImage('assets/icons/whare_house.svg');
|
||||
|
||||
@@ -385,6 +406,7 @@ class $AssetsIconsGen {
|
||||
calendarSearchOutline,
|
||||
calendarTick,
|
||||
call,
|
||||
carAllocation,
|
||||
check,
|
||||
checkSquare,
|
||||
chicken,
|
||||
@@ -413,9 +435,11 @@ class $AssetsIconsGen {
|
||||
cubeTopRotation,
|
||||
cubeWatting,
|
||||
diagram,
|
||||
directPurchase,
|
||||
download,
|
||||
edit,
|
||||
empty,
|
||||
enterCargoInformation,
|
||||
excelDownload,
|
||||
farm,
|
||||
farms,
|
||||
@@ -436,12 +460,14 @@ class $AssetsIconsGen {
|
||||
liveStock,
|
||||
lock,
|
||||
logout,
|
||||
managementBars,
|
||||
map,
|
||||
map1,
|
||||
map2,
|
||||
mapMarker,
|
||||
messageAdd,
|
||||
noteRemove,
|
||||
ordersReceived,
|
||||
outside,
|
||||
pdfDownload,
|
||||
people,
|
||||
@@ -468,6 +494,7 @@ class $AssetsIconsGen {
|
||||
setting,
|
||||
shop,
|
||||
shoppingBasket,
|
||||
submitRequest,
|
||||
tagLabel,
|
||||
tagUser,
|
||||
task,
|
||||
@@ -480,6 +507,7 @@ class $AssetsIconsGen {
|
||||
userRaduis,
|
||||
userSquare,
|
||||
virtual,
|
||||
warehouseDistribution,
|
||||
whareHouse,
|
||||
];
|
||||
}
|
||||
@@ -570,6 +598,9 @@ class $AssetsVecGen {
|
||||
/// File path: assets/vec/call.svg.vec
|
||||
SvgGenImage get callSvg => const SvgGenImage.vec('assets/vec/call.svg.vec');
|
||||
|
||||
/// File path: assets/vec/car_allocation.svg.vec
|
||||
SvgGenImage get carAllocationSvg => const SvgGenImage.vec('assets/vec/car_allocation.svg.vec');
|
||||
|
||||
/// File path: assets/vec/check.svg.vec
|
||||
SvgGenImage get checkSvg => const SvgGenImage.vec('assets/vec/check.svg.vec');
|
||||
|
||||
@@ -654,6 +685,9 @@ class $AssetsVecGen {
|
||||
/// File path: assets/vec/diagram.svg.vec
|
||||
SvgGenImage get diagramSvg => const SvgGenImage.vec('assets/vec/diagram.svg.vec');
|
||||
|
||||
/// File path: assets/vec/direct_purchase.svg.vec
|
||||
SvgGenImage get directPurchaseSvg => const SvgGenImage.vec('assets/vec/direct_purchase.svg.vec');
|
||||
|
||||
/// File path: assets/vec/download.svg.vec
|
||||
SvgGenImage get downloadSvg => const SvgGenImage.vec('assets/vec/download.svg.vec');
|
||||
|
||||
@@ -663,6 +697,9 @@ class $AssetsVecGen {
|
||||
/// File path: assets/vec/empty.svg.vec
|
||||
SvgGenImage get emptySvg => const SvgGenImage.vec('assets/vec/empty.svg.vec');
|
||||
|
||||
/// File path: assets/vec/enter_cargo_information.svg.vec
|
||||
SvgGenImage get enterCargoInformationSvg => const SvgGenImage.vec('assets/vec/enter_cargo_information.svg.vec');
|
||||
|
||||
/// File path: assets/vec/excel_download.svg.vec
|
||||
SvgGenImage get excelDownloadSvg => const SvgGenImage.vec('assets/vec/excel_download.svg.vec');
|
||||
|
||||
@@ -723,6 +760,9 @@ class $AssetsVecGen {
|
||||
/// File path: assets/vec/logout.svg.vec
|
||||
SvgGenImage get logoutSvg => const SvgGenImage.vec('assets/vec/logout.svg.vec');
|
||||
|
||||
/// File path: assets/vec/management_bars.svg.vec
|
||||
SvgGenImage get managementBarsSvg => const SvgGenImage.vec('assets/vec/management_bars.svg.vec');
|
||||
|
||||
/// File path: assets/vec/map.svg.vec
|
||||
SvgGenImage get mapSvg => const SvgGenImage.vec('assets/vec/map.svg.vec');
|
||||
|
||||
@@ -741,6 +781,9 @@ class $AssetsVecGen {
|
||||
/// File path: assets/vec/note_remove.svg.vec
|
||||
SvgGenImage get noteRemoveSvg => const SvgGenImage.vec('assets/vec/note_remove.svg.vec');
|
||||
|
||||
/// File path: assets/vec/orders_received.svg.vec
|
||||
SvgGenImage get ordersReceivedSvg => const SvgGenImage.vec('assets/vec/orders_received.svg.vec');
|
||||
|
||||
/// File path: assets/vec/outside.svg.vec
|
||||
SvgGenImage get outsideSvg => const SvgGenImage.vec('assets/vec/outside.svg.vec');
|
||||
|
||||
@@ -819,6 +862,9 @@ class $AssetsVecGen {
|
||||
/// File path: assets/vec/shopping_basket.svg.vec
|
||||
SvgGenImage get shoppingBasketSvg => const SvgGenImage.vec('assets/vec/shopping_basket.svg.vec');
|
||||
|
||||
/// File path: assets/vec/submit_request.svg.vec
|
||||
SvgGenImage get submitRequestSvg => const SvgGenImage.vec('assets/vec/submit_request.svg.vec');
|
||||
|
||||
/// File path: assets/vec/tag_label.svg.vec
|
||||
SvgGenImage get tagLabelSvg => const SvgGenImage.vec('assets/vec/tag_label.svg.vec');
|
||||
|
||||
@@ -855,6 +901,9 @@ class $AssetsVecGen {
|
||||
/// File path: assets/vec/virtual.svg.vec
|
||||
SvgGenImage get virtualSvg => const SvgGenImage.vec('assets/vec/virtual.svg.vec');
|
||||
|
||||
/// File path: assets/vec/warehouse_distribution.svg.vec
|
||||
SvgGenImage get warehouseDistributionSvg => const SvgGenImage.vec('assets/vec/warehouse_distribution.svg.vec');
|
||||
|
||||
/// File path: assets/vec/whare_house.svg.vec
|
||||
SvgGenImage get whareHouseSvg => const SvgGenImage.vec('assets/vec/whare_house.svg.vec');
|
||||
|
||||
@@ -876,6 +925,7 @@ class $AssetsVecGen {
|
||||
calendarSearchOutlineSvg,
|
||||
calendarTickSvg,
|
||||
callSvg,
|
||||
carAllocationSvg,
|
||||
checkSvg,
|
||||
checkSquareSvg,
|
||||
chickenSvg,
|
||||
@@ -904,9 +954,11 @@ class $AssetsVecGen {
|
||||
cubeTopRotationSvg,
|
||||
cubeWattingSvg,
|
||||
diagramSvg,
|
||||
directPurchaseSvg,
|
||||
downloadSvg,
|
||||
editSvg,
|
||||
emptySvg,
|
||||
enterCargoInformationSvg,
|
||||
excelDownloadSvg,
|
||||
farmSvg,
|
||||
farmsSvg,
|
||||
@@ -927,12 +979,14 @@ class $AssetsVecGen {
|
||||
liveStockSvg,
|
||||
lockSvg,
|
||||
logoutSvg,
|
||||
managementBarsSvg,
|
||||
mapSvg,
|
||||
map1Svg,
|
||||
map2Svg,
|
||||
mapMarkerSvg,
|
||||
messageAddSvg,
|
||||
noteRemoveSvg,
|
||||
ordersReceivedSvg,
|
||||
outsideSvg,
|
||||
pdfDownloadSvg,
|
||||
peopleSvg,
|
||||
@@ -959,6 +1013,7 @@ class $AssetsVecGen {
|
||||
settingSvg,
|
||||
shopSvg,
|
||||
shoppingBasketSvg,
|
||||
submitRequestSvg,
|
||||
tagLabelSvg,
|
||||
tagUserSvg,
|
||||
taskSvg,
|
||||
@@ -971,6 +1026,7 @@ class $AssetsVecGen {
|
||||
userRaduisSvg,
|
||||
userSquareSvg,
|
||||
virtualSvg,
|
||||
warehouseDistributionSvg,
|
||||
whareHouseSvg,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -225,3 +225,37 @@ class GlassMorphismCardIcon extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class GlassMorphismCardItem {
|
||||
final String title;
|
||||
final String route;
|
||||
final String icon;
|
||||
|
||||
GlassMorphismCardItem({required this.title, required this.route, required this.icon});
|
||||
}
|
||||
|
||||
class GlassMorphismGrid extends StatelessWidget {
|
||||
const GlassMorphismGrid({super.key, required this.items, required this.onTap});
|
||||
|
||||
final List<GlassMorphismCardItem> items;
|
||||
final VoidCallback onTap;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return GridView.builder(
|
||||
physics: BouncingScrollPhysics(),
|
||||
padding: EdgeInsets.symmetric(vertical: 18.h, horizontal: 32.w),
|
||||
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||
crossAxisCount: 2,
|
||||
mainAxisSpacing: 24.h,
|
||||
crossAxisSpacing: 24.w,
|
||||
),
|
||||
itemCount: items.length,
|
||||
hitTestBehavior: HitTestBehavior.opaque,
|
||||
itemBuilder: (BuildContext context, int index) {
|
||||
var item = items[index];
|
||||
return GlassMorphismCardIcon(title: item.title, vecIcon: item.icon, onTap: onTap);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user