buttonAlignedDropdown property

bool? buttonAlignedDropdown
final

Overrides the surrounding ButtonThemeData.alignedDropdown to define whether a DropdownButton menu's width will match the button's width.

If null then it will use the surrounding ButtonBarThemeData.buttonAlignedDropdown. If that is null, it will default to false.

Implementation

final bool? buttonAlignedDropdown;