direction property
final
The orientation of the button's segments.
If this is Axis.vertical, the segments will be aligned vertically and the first item in segments will be on the top.
Defaults to Axis.horizontal.
Implementation
final Axis direction;