delete all kinda stuff

delete function implemented
on pressed -> pop up => are you sure about that?
yes: all rating from all pages will be cleared
no: nothing happens, pop closes
This commit is contained in:
Ali
2024-11-23 17:52:12 +01:00
parent b0b0a5c36d
commit 3cdc1dc169
6 changed files with 83 additions and 6 deletions
+7
View File
@@ -19,4 +19,11 @@ class EssenProvider extends ChangeNotifier {
freiText = text;
notifyListeners();
}
void resetAllFields(){
freiText = "";
ratingGeschmack = 0;
ratingQuali = 0;
notifyListeners();
}
}