mainAxisDirection property

Axis mainAxisDirection
final

The main scroll direction of the grid. Defaults to Axis.vertical. If set to Axis.horizontal the grid will scroll horizontally and the small visual indicators will appear on the left/right edges.

Implementation

final Axis mainAxisDirection;