File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ class FormBuilderDropdown<T> extends FormBuilderField<T> {
211
211
this .autofocus = false ,
212
212
this .dropdownColor,
213
213
this .focusColor,
214
- this .itemHeight,
214
+ this .itemHeight = kMinInteractiveDimension ,
215
215
this .selectedItemBuilder,
216
216
}) : /*: assert(allowClear == true || clearIcon != null)*/ super (
217
217
key: key,
@@ -244,7 +244,7 @@ class FormBuilderDropdown<T> extends FormBuilderField<T> {
244
244
children: < Widget > [
245
245
Expanded (
246
246
child: DropdownButtonHideUnderline (
247
- child: DropdownButton (
247
+ child: DropdownButton < T > (
248
248
isExpanded: isExpanded,
249
249
hint: hint,
250
250
items: items,
@@ -266,7 +266,7 @@ class FormBuilderDropdown<T> extends FormBuilderField<T> {
266
266
iconEnabledColor: iconEnabledColor,
267
267
onChanged: (state.readOnly || ! enabled)
268
268
? null
269
- : (T value) => _changeValue <T >(field, value),
269
+ : (value) => _changeValue <T >(field, value),
270
270
onTap: onTap,
271
271
focusNode: state.effectiveFocusNode,
272
272
autofocus: autofocus,
You can’t perform that action at this time.
0 commit comments