mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 09:08:55 +03:30
Set clear icon of add package box
This commit is contained in:
@@ -45,6 +45,19 @@ class PackageProvider extends ChangeNotifier {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
bool isClear = false;
|
||||
|
||||
setClear(int index) {
|
||||
isClear = true;
|
||||
itemValues[index].clear();
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
reSetClear() {
|
||||
isClear = false;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
changeItemVal(String value, int index) {
|
||||
for (var item in filteredItems!) {
|
||||
if (item.udi_name == value) {
|
||||
|
||||
Reference in New Issue
Block a user