File tree 1 file changed +2
-1
lines changed
packages/flet/lib/src/controls
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ class _DropdownControlState extends State<DropdownControl> with FletStoreMixin {
68
68
debugPrint ("DropdownMenu build: ${widget .control .id }" );
69
69
return withControls (widget.control.childIds, (context, itemsView) {
70
70
debugPrint ("DropdownMenuFletControlState build: ${widget .control .id }" );
71
-
72
71
bool disabled = widget.control.isDisabled || widget.parentDisabled;
73
72
bool editable = widget.control.attrBool ("editable" , false )! ;
74
73
bool autofocus = widget.control.attrBool ("autofocus" , false )! ;
@@ -317,6 +316,8 @@ class _DropdownControlState extends State<DropdownControl> with FletStoreMixin {
317
316
helperText: widget.control.attrString ("helperText" ),
318
317
//inputFormatters: inputFormatters,
319
318
//expandedInsets: parseEdgeInsets(widget.control, "expandedInsets"),
319
+ expandedInsets:
320
+ widget.control.attrInt ("expand" ) != null ? EdgeInsets .zero : null ,
320
321
menuStyle: MenuStyle (
321
322
backgroundColor: parseWidgetStateColor (
322
323
Theme .of (context), widget.control, "bgcolor" ),
You can’t perform that action at this time.
0 commit comments