kBezierHorizontalFrictionFactor function

double kBezierHorizontalFrictionFactor(
  1. double overscrollFraction
)

Horizontal friction factor used by bezier curves.

Implementation

double kBezierHorizontalFrictionFactor(double overscrollFraction) =>
    1.0 * math.pow(1 - overscrollFraction, 2);