direction property

FlexDirection direction
final

The direction of the main axis for this flex container.

Determines whether children are laid out horizontally (row) or vertically (column). Also controls the direction of flow, with reverse options available.

Defaults to FlexDirection.row for horizontal layout.

Implementation

final FlexDirection direction;