infinity constant Null safety

EdgeInsetsGeometry const infinity

An EdgeInsetsGeometry with infinite offsets in each direction.

Can be used as an infinite upper bound for clamp.

Implementation

static const EdgeInsetsGeometry infinity = _MixedEdgeInsets.fromLRSETB(
  double.infinity,
  double.infinity,
  double.infinity,
  double.infinity,
  double.infinity,
  double.infinity,
);