isNonNegative property

bool get isNonNegative

Whether this size has non-negative width and height.

Implementation

bool get isNonNegative => width >= 0.0 && height >= 0.0;