File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/flutter_form_builder/lib/src/fields Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ class FormBuilderDropdown<T> extends FormBuilderField<T> {
163
163
/// the dropdown button. That's because, in this case, the initial scroll
164
164
/// offset is computed as if all of the menu item heights were
165
165
/// [kMinInteractiveDimension] .
166
- final double itemHeight;
166
+ final double ? itemHeight;
167
167
168
168
/// The color for the button's [Material] when it has the input focus.
169
169
final Color ? focusColor;
@@ -258,7 +258,7 @@ class FormBuilderDropdown<T> extends FormBuilderField<T> {
258
258
this .shouldRequestFocus = false ,
259
259
this .dropdownColor,
260
260
this .focusColor,
261
- this .itemHeight = kMinInteractiveDimension ,
261
+ this .itemHeight,
262
262
this .selectedItemBuilder,
263
263
this .menuMaxHeight,
264
264
this .enableFeedback,
You can’t perform that action at this time.
0 commit comments