isTight property

bool get isTight

Whether there is exactly one size that satisfies the constraints.

Implementation

bool get isTight => minWidth >= maxWidth && minHeight >= maxHeight;