easeInOutCubic constant

Cubic const easeInOutCubic

A cubic animation curve that starts slowly, speeds up, and then ends slowly. This curve can be imagined as Curves.easeInCubic as the first half, and Curves.easeOutCubic as the second.

The result is a safe sweet spot when choosing a curve for a widget whose initial and final positions are both within the viewport.

Compared to Curves.easeInOutQuad, this curve is slightly steeper.

Derived from Robert Penner’s easing functions.


static const Cubic easeInOutCubic = Cubic(0.645, 0.045, 0.355, 1.0);