SplitButtonBar constructor
const
SplitButtonBar({
- Key? key,
- required List<
Widget> buttons, - 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);