124539
: Adding minimumSize , maximumSize , and fixedSize to the SegmentedButton 's internal style mapping to allow developers to control its physical dimensions.
The requested feature or development task is to enable size customization for the SegmentedButton widget. Currently, attempting to modify the button's height via standard styling methods—like using minimumSize , maximumSize , or fixedSize —does not work because these properties are not correctly integrated into the widget's default style implementation. 124539
According to the Flutter GitHub issue, the development of this feature involves: : Adding minimumSize , maximumSize , and fixedSize
: Correcting a specific logic error in the code that incorrectly references disabledState instead of enabledState . According to the Flutter GitHub issue, the development
: Ensuring the widget respects VisualDensity , which is a common way Flutter handles compact or expanded UI layouts. Alternative Reference