SpaceMin constructor
const
SpaceMin({})
Creates a flexible space with min (and optional max) extent.
Implementation
const SpaceMin({
super.key,
this.min = 0,
this.max,
bool? maxExpend,
this.crossAxisExtent,
this.color,
}) : assert(min >= 0 && min < double.infinity),
assert(max == null || (max >= min && max < double.infinity)),
assert(crossAxisExtent == null || crossAxisExtent >= 0),
maxExpend = maxExpend ?? (max == null);