mainAxisForTrackType function

Axis mainAxisForTrackType(
  1. TrackType type
)

Returns the direction of cell layout for the provided type.

Implementation

Axis mainAxisForTrackType(TrackType type) =>
    type == TrackType.column ? Axis.vertical : Axis.horizontal;