infinite constant

Size const infinite = const Size(double.infinity, double.infinity)

A size whose width and height are infinite.

See also:

  • isInfinite, which checks whether either dimension is infinite.
  • isFinite, which checks whether both dimensions are finite.

Implementation

static const Size infinite = const Size(double.infinity, double.infinity)