: Correcting a specific logic error in the code that incorrectly references disabledState instead of enabledState .
According to the Flutter GitHub issue, the development of this feature involves:
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.