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:
@@ -20,4 +20,11 @@ class SpezielleErnaehrungProvider extends ChangeNotifier {
|
||||
freiText = text;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void resetAllFields(){
|
||||
freiText = "";
|
||||
ratingSitzmoeglichkeit = 0;
|
||||
ratingKeineAhnung = 0;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user