flutter_smooth_wheel_scroll 0.1.0
flutter_smooth_wheel_scroll: ^0.1.0 copied to clipboard
Smooth, adjustable mouse wheel scrolling for Flutter desktop: scale the wheel distance app-wide and animate it per scroll view with a spring, curve or lerp.
0.1.0 #
Initial release.
SmoothScrollController: animates mouse wheel scrolling per scroll view. Wheel input during a motion adds to the previous target, scrolling never passes the list ends, and items stay tappable while a motion settles.WheelMotion: how the controller moves.WheelMotion.spring(default: 400 ms, no bounce) keeps its velocity when the target moves.WheelMotion.curve(default: 400 ms,Curves.easeOutCubic) plays anyCurve.WheelMotion.lerp(default: 60 ms time constant) eases toward the target.
SmoothWheelBindingandSmoothWheelBindingMixin: scale mouse wheel distance app-wide, adjustable at runtime.scaleWheelEvent: the event transform behind the binding.