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
|
|
|
}
|
2024-02-02 17:51:46 +06:30
|
|
|
List<LocalPopupMenu> shipFiteringMenu = <LocalPopupMenu>[
|
|
|
|
|
LocalPopupMenu(id: 0, text :"All"),
|
|
|
|
|
LocalPopupMenu(id: 1, text: "Pending"),
|
|
|
|
|
LocalPopupMenu(id: 2, text: "Processing"),
|
|
|
|
|
LocalPopupMenu(id: 3, text: "Shipped"),
|
|
|
|
|
LocalPopupMenu(id: 4, text: "Arrived"),
|
|
|
|
|
LocalPopupMenu(id: 5, text: "Invoiced"),
|
|
|
|
|
LocalPopupMenu(id: 6, text: "Canceled"),
|
|
|
|
|
];
|
|
|
|
|
|