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