scrollAxis property
final
The scroll axis.
If set to Axis.horizontal, the default scrolling direction is to the right. If set to Axis.vertical, the default scrolling direction is to the bottom.
Sample code
This marquee scrolls vertically:
Marquee(
scrollAxis: Axis.vertical,
text: "Look what's below this:",
)
See also:
- The sign of velocity to define the concrete scroll direction on this axis.
Implementation
final Axis scrollAxis;