Files
fcs/lib/domain/vo/local_popupmenu.dart

27 lines
689 B
Dart
Raw Normal View History

2020-10-12 03:34:05 +06:30
class LocalPopupMenu {
int id;
2021-09-10 14:25:37 +06:30
String? textKey;
2024-01-31 11:16:05 +06:30
String? text;
2020-10-12 03:34:05 +06:30
bool selected;
bool highlight;
2020-10-19 05:13:49 +06:30
bool enabled;
2020-10-12 03:34:05 +06:30
LocalPopupMenu(
2021-09-10 14:25:37 +06:30
{required this.id,
2020-10-19 05:13:49 +06:30
this.textKey,
2024-01-31 11:16:05 +06:30
this.text,
2020-10-19 05:13:49 +06:30
this.selected = false,
this.highlight = false,
this.enabled = true});
2020-10-12 03:34:05 +06:30
}
2025-02-17 20:13:30 +06:30
List<LocalPopupMenu> shipFiteringMenu = <LocalPopupMenu>[
2025-02-17 20:13:30 +06:30
LocalPopupMenu(id: 0, text: "All"),
LocalPopupMenu(id: 1, text: "Pending"),
LocalPopupMenu(id: 2, text: "Processed"),
LocalPopupMenu(id: 3, text: "Shipped"),
LocalPopupMenu(id: 4, text: "Arrived"),
LocalPopupMenu(id: 5, text: "Invoiced"),
2025-02-17 20:13:30 +06:30
LocalPopupMenu(id: 7, text: "Delivered"),
LocalPopupMenu(id: 6, text: "Canceled"),
];