expandedInsets property
final
Defines the menu text field's width to be equal to its parent's width plus the horizontal width of the specified insets.
If this property is null, the width of the text field will be determined by the width of menu items or DropdownMenu.width. If this property is not null, the text field's width will match the parent's width plus the specified insets. If the value of this property is EdgeInsets.zero, the width of the text field will be the same as its parent's width.
The expandedInsets' top and bottom are ignored, only its left and right properties are used.
Defaults to null.
Implementation
final EdgeInsets? expandedInsets;