easeInOutCirc property
Ease In Out Circ: f(t) = (t < 0.5) ? (1 - sqrt(1 - (2t)^2)) / 2 : (sqrt(1 - (-2t + 2)^2) + 1) / 2.
Implementation
static final Curve easeInOutCirc = _LambdaCurve(
id: 'easeInOutCirc',
transformFunction: (t) {
if (t < 0.5) {
return (1 - sqrt(1 - pow(2 * t, 2).toDouble())) / 2;
} else {
return (sqrt(1 - pow(-2 * t + 2, 2).toDouble()) + 1) / 2;
}
},
durationSeconds: _defaultDuration,
bounce: 0,
);