carriedMomentum method

  1. @override
double carriedMomentum(
  1. double existingVelocity
)
override

Returns the velocity carried on repeated flings.

The function is applied to the existing scroll velocity when another scroll drag is applied in the same direction.

By default, physics for platforms other than iOS doesn't carry momentum.

Implementation

@override
double carriedMomentum(double existingVelocity) {
  return super.carriedMomentum(existingVelocity);
}