dyn_mouse_scroll
모든 플랫폼에서 마우스로 부드럽게 스크롤할 수 있도록 해주는 스크롤 가능한 위젯용 래퍼입니다.
Flutter 패키지. 모든 플랫폼에서 마우스로 부드러운 스크롤을 가능하게 하는 스크롤 가능한 위젯용 래퍼입니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A wrapper for scrollable widgets that enables smooth scrolling with a mouse on all platforms.
First gif: Scrolling slowly.
Second gif: Scrolling quickly (flick scroll).
Third gif: Mobile drag scroll detected, physics change.



DynMouseScroll(
builder: (context, controller, physics) => ListView(
controller: controller,
physics: physics,
children: ...
)
)
Flutter does not animate smooth scrolls for pointers, causing choppy experiences for the end user. One package, web_smooth_scroll, attempts to fix this problem by disabling default scrolling entirely (mobile can't drag now) and listening for pointer events to animate the scroll controller that can only move at one speed.
To allow mobile default scrolling to still be accessible I detect the user's platform and automatically update if the detection was wrong. When the user scrolls, the 'futurePosition' variable is updated and the animation is started.
의존성 목록 5 개
{"sdk":"flutter"}^6.0.3^2.0.4{"sdk":"flutter"}^2.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗