isInfinite property
Whether any of the coordinates of this rectangle are equal to positive infinity.
Implementation
// included for consistency with Offset and Size
bool get isInfinite {
return left >= double.INFINITY
|| top >= double.INFINITY
|| right >= double.INFINITY
|| bottom >= double.INFINITY;
}