removed default platzung value
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user