ButtonBarThemeData constructor
- @Deprecated('Use OverflowBar instead. ' 'This feature was deprecated after v3.21.0-10.0.pre.')
- MainAxisAlignment? alignment,
- MainAxisSize? mainAxisSize,
- ButtonTextTheme? buttonTextTheme,
- double? buttonMinWidth,
- double? buttonHeight,
- EdgeInsetsGeometry? buttonPadding,
- bool? buttonAlignedDropdown,
- ButtonBarLayoutBehavior? layoutBehavior,
- VerticalDirection? overflowDirection,
Constructs the set of properties used to configure ButtonBar widgets.
Both buttonMinWidth and buttonHeight must be non-negative if they are not null.
Implementation
@Deprecated(
'Use OverflowBar instead. '
'This feature was deprecated after v3.21.0-10.0.pre.',
)
const ButtonBarThemeData({
this.alignment,
this.mainAxisSize,
this.buttonTextTheme,
this.buttonMinWidth,
this.buttonHeight,
this.buttonPadding,
this.buttonAlignedDropdown,
this.layoutBehavior,
this.overflowDirection,
}) : assert(buttonMinWidth == null || buttonMinWidth >= 0.0),
assert(buttonHeight == null || buttonHeight >= 0.0);