23 lines
498 B
Dart
23 lines
498 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
|
|
class SpezielleErnaehrungProvider extends ChangeNotifier {
|
|
double ratingSitzmoeglichkeit = 0;
|
|
double ratingKeineAhnung = 0;
|
|
String freiText = "";
|
|
|
|
void setRatingSitzmoeglichkeit(double rating) {
|
|
ratingSitzmoeglichkeit = rating;
|
|
notifyListeners();
|
|
}
|
|
|
|
void setRatingKeineAhnung(double rating) {
|
|
ratingKeineAhnung = rating;
|
|
notifyListeners();
|
|
}
|
|
|
|
void setFreiText(String text) {
|
|
freiText = text;
|
|
notifyListeners();
|
|
}
|
|
} |