isNonNegative property

bool isNonNegative
override

Whether every dimension is non-negative.

Implementation

@override
bool get isNonNegative => start >= 0.0 && top >= 0.0 && end >= 0.0 && bottom >= 0.0;