|
|
|
@ -33,8 +33,7 @@ class DropdownButtonSettingsTile<T> extends InputSettingsTile<SelectOption<T>> {
|
|
|
|
|
: Theme.of(context).textTheme.subtitle1!.copyWith(color: Theme.of(context).disabledColor), |
|
|
|
|
), |
|
|
|
|
trailing: valuesSnapshot.hasData |
|
|
|
|
? DropdownButtonHideUnderline( |
|
|
|
|
child: DropdownButton<T>( |
|
|
|
|
? DropdownButton<T>( |
|
|
|
|
value: value, |
|
|
|
|
items: valuesSnapshot.data!.keys |
|
|
|
|
.map( |
|
|
|
@ -49,7 +48,6 @@ class DropdownButtonSettingsTile<T> extends InputSettingsTile<SelectOption<T>> {
|
|
|
|
|
await option.set(value as T); |
|
|
|
|
} |
|
|
|
|
: null, |
|
|
|
|
), |
|
|
|
|
) |
|
|
|
|
: null, |
|
|
|
|
), |
|
|
|
|