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 ||
                   trRadiusX.isNaN || trRadiusY.isNaN || tlRadiusX.isNaN || tlRadiusY.isNaN ||
                   brRadiusX.isNaN || brRadiusY.isNaN || blRadiusX.isNaN || blRadiusY.isNaN;