hasInfiniteHeight property Null safety
Whether the height constraint is infinite.
Such a constraint is used to indicate that a box should grow as large as some other constraint (in this case, vertically). If constraints are infinite, then they must have other (non-infinite) constraints enforced upon them, or must be tightened, before they can be used to derive a Size for a RenderBox.size.
See also:
- hasInfiniteWidth, the equivalent for the horizontal axis.
- hasBoundedHeight, which describes whether the maximum height constraint is finite.
Implementation
bool get hasInfiniteHeight => minHeight >= double.infinity;