removed default platzung value

This commit is contained in:
nico
2024-05-01 19:34:50 +02:00
parent de7ff75fd6
commit fbe756eb39
4 changed files with 3 additions and 10 deletions

View File

@@ -468,12 +468,11 @@ class _STTypState extends State<STTyp> {
class Platzung extends StatefulWidget {
final Function(String) onPlatzungChanged;
final String initialPlatzung;
const Platzung(
{super.key,
required this.onPlatzungChanged,
this.initialPlatzung = 'kirrung'});
});
@override
State<Platzung> createState() => _PlatzungState();
@@ -482,11 +481,6 @@ class Platzung extends StatefulWidget {
class _PlatzungState extends State<Platzung> {
String? _selectedPlatzung;
@override
void initState() {
super.initState();
_selectedPlatzung = widget.initialPlatzung;
}
@override
Widget build(BuildContext context) {