Skip to content
pubscout

scroll_drag_detector

0.1.0+2, released 11 months ago by whynotmake.it

A drag gesture detector that handles overscrolling ScrollViews inside of it.

WASM-ready
$ flutter pub add scroll_drag_detector
Source repository

What it does

Scroll Drag Detector is a specialized version of GestureDetector designed to pick up overscrolling ScrollViews placed inside of it. It helps developers easily create draggable scrollable sheets in Flutter by handling interactions between dragging and scrolling.

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

Use it when

  • You need to build draggable scrollable sheets in Flutter.
  • You need a gesture detector that can handle overscrolling scroll views within it.

Skip it when

  • You only need standard gesture detection without scroll views.
  • You do not need physics-based sheet dragging interactions.

Strengths

  • Unlocks easy draggable scrollable sheets in Flutter.
  • Handles interactions between dragging and scrolling smoothly with callbacks.

Weaknesses

  • Limited documentation outside of basic usage and changelog history.
  • Niche use case focused specifically on overscrolling scroll views.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
dart pub add scroll_drag_detector

Alternatives

Packages that do the same job and could replace scroll_drag_detector.

  • springster

    Spring animations and physics simulations simplified for Flutter.

  • motor

    Unified motion system combining physics-based springs and duration-based curves.

  • heroine

    Spring-based physics hero transitions and gesture-driven animations in Flutter.

  • elegant_spring_animation

    Provides physics-based spring animation curves with customizable bounciness.

Works with

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