linear constant

Curve const linear = 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._()