kMaterialHorizontalFrictionFactor function

double kMaterialHorizontalFrictionFactor(
  1. double overscrollFraction
)

Friction factor used by material horizontal.

Implementation

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