SplitButtonBar constructor

const SplitButtonBar({
  1. Key? key,
  2. required List<Widget> buttons,
  3. SplitButtonThemeData? style,
})

Creates a button bar with space in between the buttons.

It provides a ButtonThemeData above each button to make them fell natural within the bar.

Implementation

const SplitButtonBar({
  Key? key,
  required this.buttons,
  this.style,
})  : assert(buttons.length > 1, 'There must 2 or more buttons'),
      super(key: key);