isNormalized property

bool isNormalized
override

Whether the constraint is expressed in a consistent manner.

Implementation

@override
bool get isNormalized {
  return scrollOffset >= 0.0
      && crossAxisExtent >= 0.0
      && axisDirectionToAxis(axisDirection) != axisDirectionToAxis(crossAxisDirection)
      && viewportMainAxisExtent >= 0.0
      && remainingPaintExtent >= 0.0;
}