isFinite property

bool get isFinite

Whether this size has finite width and height.

Implementation

bool get isFinite => width.isFinite && height.isFinite;