hasNaN property Null safety

bool hasNaN

Whether any of the dimensions are NaN.

Implementation

bool get hasNaN => left.isNaN || top.isNaN || right.isNaN || bottom.isNaN;