isNonNegative property

bool get isNonNegative

Whether every dimension is non-negative.

Implementation

bool get isNonNegative =>
    top >= 0.0 && right >= 0.0 && bottom >= 0.0 && left >= 0.0;