isZeroDimension property
bool
get
isZeroDimension
Returns true
if the area of this dimension is zero.
Implementation
bool get isZeroDimension => width <= 0 || height <= 0;
Returns true
if the area of this dimension is zero.
bool get isZeroDimension => width <= 0 || height <= 0;