measurementAxisForTrackType function

Axis measurementAxisForTrackType(
  1. TrackType type
)

Returns the axis measured by a TrackSize associated with a particular TrackType.

Implementation

Axis measurementAxisForTrackType(TrackType type) {
  return type == TrackType.column ? Axis.horizontal : Axis.vertical;
}