linear constant Null safety

Curve const linear

A linear animation curve.

This is the identity map over the unit interval: its Curve.transform method returns its input unmodified. This is useful as a default curve for cases where a Curve is required but no actual curve is desired.

Implementation

static const Curve linear = _Linear._();