feat : chicken root page , inventory , sale in province

This commit is contained in:
MrM
2025-06-05 23:26:44 +03:30
parent 5849466e3b
commit 1cfcf9fa8f
68 changed files with 16615 additions and 126 deletions

View File

@@ -57,6 +57,9 @@ class $AssetsIconsGen {
/// File path: assets/icons/information.svg
SvgGenImage get information => const SvgGenImage('assets/icons/information.svg');
/// File path: assets/icons/inside.svg
SvgGenImage get inside => const SvgGenImage('assets/icons/inside.svg');
/// File path: assets/icons/inspection.svg
SvgGenImage get inspection => const SvgGenImage('assets/icons/inspection.svg');
@@ -78,6 +81,9 @@ class $AssetsIconsGen {
/// File path: assets/icons/message_add.svg
SvgGenImage get messageAdd => const SvgGenImage('assets/icons/message_add.svg');
/// File path: assets/icons/outside.svg
SvgGenImage get outside => const SvgGenImage('assets/icons/outside.svg');
/// File path: assets/icons/pdf_download.svg
SvgGenImage get pdfDownload => const SvgGenImage('assets/icons/pdf_download.svg');
@@ -129,6 +135,9 @@ class $AssetsIconsGen {
/// File path: assets/icons/virtual.svg
SvgGenImage get virtual => const SvgGenImage('assets/icons/virtual.svg');
/// File path: assets/icons/whare_house.svg
SvgGenImage get whareHouse => const SvgGenImage('assets/icons/whare_house.svg');
/// List of all assets
List<SvgGenImage> get values => [
add,
@@ -145,6 +154,7 @@ class $AssetsIconsGen {
filter,
gps,
information,
inside,
inspection,
key,
liveStock,
@@ -152,6 +162,7 @@ class $AssetsIconsGen {
map,
mapMarker,
messageAdd,
outside,
pdfDownload,
pictureFrame,
placeHolder,
@@ -169,6 +180,7 @@ class $AssetsIconsGen {
user,
userSquare,
virtual,
whareHouse,
];
}

View File

@@ -10,6 +10,6 @@
class FontFamily {
FontFamily._();
/// Font family: yekan
static const String yekan = 'yekan';
/// Font family: iranyekanregularfanum
static const String iranyekanregularfanum = 'iranyekanregularfanum';
}

View File

@@ -0,0 +1,8 @@
extension XDataTime on DateTime {
String get formattedGregorianDate {
return "$year/${month.toString().padLeft(2, '0')}/${day.toString().padLeft(2, '0')}";
}
}

View File

@@ -1,9 +1,9 @@
extension ListExtensions<T> on List<T> {
void toggle(T item) {
if (contains(item)) {
if (length > 1) {
remove(item);
}
} else {
add(item);
}

View File

@@ -1,2 +1,3 @@
export 'color_utils.dart';
export 'list_extensions.dart';
export 'list_extensions.dart';
export 'data_time_utils.dart';