FlexibleTrackSize constructor

const FlexibleTrackSize(
  1. double flexFactor, {
  2. String? debugLabel,
})

Creates a track size based on a fraction of the grid's leftover space.

The flexFactor argument must not be null.

Implementation

const FlexibleTrackSize(this.flexFactor, {String? debugLabel})
    : assert(flexFactor > 0),
      super(debugLabel: debugLabel);