Skip to content
pubscout

dyn_mouse_scroll

1.0.7, released 4 years ago by nickblaauboer.com

A wrapper for scrollable widgets that enables smooth mouse scrolling across all platforms.

WASM-ready
$ flutter pub add dyn_mouse_scroll
Source repository

What it does

Wraps scrollable widgets to animate smooth scrolling based on mouse scroll speed. It detects platforms using universal_io and automatically updates scroll physics.

AI-written summary of version 1.0.7, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want smooth mouse scrolling on Flutter desktop or web apps
  • You need to animate scroll events based on user scroll speed

Skip it when

  • You prefer default platform-specific choppy mouse scrolling behavior
  • You do not use scrollable widgets

Strengths

  • Enables smooth scrolling with a mouse on all platforms
  • Automatically detects mobile vs desktop platforms and adjusts physics
  • Allows customizing scroll duration and mobile physics

Weaknesses

  • Initial release lacks detailed changelog documentation
  • Relies on external provider and universal_io packages

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Not documented

DynMouseScroll(
  builder: (context, controller, physics) => ListView(
    controller: controller,
    physics: physics,
    children: ...
    )
)

Alternatives

Packages that do the same job and could replace dyn_mouse_scroll.

Works with

Packages commonly used together with dyn_mouse_scroll: ones it builds on, ones built on it, and its own family.