carriedMomentum method
- double existingVelocity
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
double carriedMomentum(double existingVelocity) {
return parent?.carriedMomentum(existingVelocity) ?? 0.0;
}