ButtonGroup.horizontal constructor
Creates a horizontal button group.
A convenience constructor equivalent to ButtonGroup(direction: Axis.horizontal).
Arranges buttons in a row with connected borders.
Implementation
const ButtonGroup.horizontal({
super.key,
this.expands = false,
required this.children,
}) : direction = Axis.horizontal;