ButtonBar constructor
- @Deprecated('Use OverflowBar instead. ' 'This feature was deprecated after v3.21.0-10.0.pre.')
- Key? key,
- MainAxisAlignment? alignment,
- MainAxisSize? mainAxisSize,
- ButtonTextTheme? buttonTextTheme,
- double? buttonMinWidth,
- double? buttonHeight,
- EdgeInsetsGeometry? buttonPadding,
- bool? buttonAlignedDropdown,
- ButtonBarLayoutBehavior? layoutBehavior,
- VerticalDirection? overflowDirection,
- double? overflowButtonSpacing,
- List<Widget> children = const <Widget>[],
Creates a button bar.
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 ButtonBar({
  super.key,
  this.alignment,
  this.mainAxisSize,
  this.buttonTextTheme,
  this.buttonMinWidth,
  this.buttonHeight,
  this.buttonPadding,
  this.buttonAlignedDropdown,
  this.layoutBehavior,
  this.overflowDirection,
  this.overflowButtonSpacing,
  this.children = const <Widget>[],
}) : assert(buttonMinWidth == null || buttonMinWidth >= 0.0),
     assert(buttonHeight == null || buttonHeight >= 0.0),
     assert(overflowButtonSpacing == null || overflowButtonSpacing >= 0.0);