add cartion filter and search
This commit is contained in:
@@ -2,7 +2,7 @@ import 'package:fcs/helpers/theme.dart';
|
||||
import 'package:fcs/pages/widgets/local_text.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'local_popupmenu.dart';
|
||||
import '../../domain/vo/local_popupmenu.dart';
|
||||
|
||||
typedef PopupMenuCallback = Function(LocalPopupMenu popupMenu);
|
||||
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
class LocalPopupMenu {
|
||||
int id;
|
||||
String? textKey;
|
||||
String? text;
|
||||
bool selected;
|
||||
bool highlight;
|
||||
bool enabled;
|
||||
LocalPopupMenu(
|
||||
{required this.id,
|
||||
this.textKey,
|
||||
this.text,
|
||||
this.selected = false,
|
||||
this.highlight = false,
|
||||
this.enabled = true});
|
||||
}
|
||||
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"),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user