hasBoundedWidth property Null safety
Whether there is an upper bound on the maximum width.
See also:
- hasBoundedHeight, the equivalent for the vertical axis.
- hasInfiniteWidth, which describes whether the minimum width constraint is infinite.
Implementation
bool get hasBoundedWidth => maxWidth < double.infinity;