direction property

Axis direction
final

The direction to use as the main axis.

For example, if direction is Axis.horizontal, the default, the children are placed adjacent to one another in a horizontal run until the available horizontal space is consumed, at which point a subsequent children are placed in a new run vertically adjacent to the previous run.

Implementation

final Axis direction;