easeInOutExpo static method
Exponential easing in/out.
Implementation
static double easeInOutExpo(double t) {
if (t == 0.0) return 0.0;
if (t == 1.0) return 1.0;
return t < 0.5
? (math.pow(2.0, 20.0 * t - 10.0) as double) / 2.0
: (2.0 - math.pow(2.0, -20.0 * t + 10.0)) / 2.0;
}