heightConstraints method Null safety

BoxConstraints heightConstraints()

Returns box constraints with the same height constraints but with unconstrained width.

Implementation

BoxConstraints heightConstraints() => BoxConstraints(minHeight: minHeight, maxHeight: maxHeight);