TrackSize.fitContent constructor
const
TrackSize.fitContent(
- Unit value
Creates a track size that fits content within the specified value.
Represents the formula max(minimum, min(limit, max-content)), where minimum represents an auto minimum (which
is often, but not always, equal to a min-content minimum), and limit is the value. This is essentially calculated
as the smaller of minmax(auto, max-content) and minmax(auto, limit).
Implementation
const factory TrackSize.fitContent(Unit value) = _FitContentTrackSize;