maxFlingVelocity property

  1. @override
double get maxFlingVelocity
override

Scroll fling velocity magnitudes will be clamped to this value.

Implementation

@override
double get maxFlingVelocity {
  return switch (decelerationRate) {
    ScrollDecelerationRate.fast => kMaxFlingVelocity * 8.0,
    ScrollDecelerationRate.normal => super.maxFlingVelocity,
  };
}