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();
|
||||
}
|
||||
}
|
||||
@@ -19,4 +19,11 @@ class AnmerkungProvider extends ChangeNotifier {
|
||||
freiText = text;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void resetAllFields(){
|
||||
freiText = "";
|
||||
ratingFrage1 = 0;
|
||||
ratingFrage2 = 0;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
@@ -19,4 +19,11 @@ class EssenProvider extends ChangeNotifier {
|
||||
freiText = text;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void resetAllFields(){
|
||||
freiText = "";
|
||||
ratingGeschmack = 0;
|
||||
ratingQuali = 0;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
@@ -19,4 +19,11 @@ class ServiceProvider extends ChangeNotifier {
|
||||
freiText = text;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void resetAllFields(){
|
||||
freiText = "";
|
||||
ratingFrage1 = 0;
|
||||
ratingFrage2 = 0;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
@@ -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