heightIsExact property

bool heightIsExact

fixed size, matchParent, matchConstraint with two constraints

Implementation

bool get heightIsExact =>
    height >= 0 ||
    (height == matchParent) ||
    (height == matchConstraint &&
        heightPercentageAnchor == PercentageAnchor.parent) ||
    (height == matchConstraint &&
        (topConstraint != null && bottomConstraint != null));