infinite constant

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

An offset with infinite x and y components.

See also:

  • isInfinite, which checks whether either component is infinite.
  • isFinite, which checks whether both components are finite.

Implementation

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