bool isInfinite

Whether any of the coordinates of this rectangle are equal to positive infinity.

Source

// included for consistency with Offset and Size
bool get isInfinite {
  return left >= double.INFINITY
      || top >= double.INFINITY
      || right >= double.INFINITY
      || bottom >= double.INFINITY;
}