hasInfiniteHeight property

bool hasInfiniteHeight

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:

Implementation

bool get hasInfiniteHeight => minHeight >= double.infinity;