isExpanded property
Set the dropdown's inner contents to horizontally fill its parent.
By default this button's inner width is the minimum size of its contents. If isExpanded is true, the inner width is expanded to fill its surrounding container.
Implementation
final bool isExpanded;