Search packages, repositories and app categories

Package detailsv0.1.0+2

scroll_drag_detector

A drag gesture detector that can deal with scroll views inside of it.

AndroidiOSLinuxmacOSWebWindows
30-day downloads
9K
Likes
10
Pub points
150

Install package

flutter pub add scroll_drag_detector

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

ScrollDragDetector is a Flutter package that enables precise drag gesture detection within scrollable widgets. It resolves common issues where nested scroll views interfere with drag interactions by intelligently distinguishing between scroll and drag gestures. Designed for use in complex UIs with layered scrollable content, it ensures smooth and responsive drag behavior even when embedded inside scrollable containers. The package supports all major platforms and integrates seamlessly with existing Flutter projects.

Use cases

  • Nested scrollable interfaces
  • Drag interactions in scrollable lists
  • Custom draggable components in scroll views
  • Interactive layouts with overlapping scrollables
  • Touch-based drag-and-drop experiences

Key features

  • Handles scroll conflicts gracefully
  • Detects drags without interference from scrolling
  • Cross-platform compatibility
  • Minimal setup with Flutter integration
  • Supports both horizontal and vertical drags

Suitable for

  • Developers building interactive scrollable UIs
  • Apps requiring precise drag gestures
  • Complex gesture-based interfaces
  • Flutter projects with nested scroll views
  • Cross-platform mobile and web apps

Considerations

  • May require tuning for highly sensitive drag responses
  • Best used when scroll and drag behaviors are distinct
  • Not needed for simple non-scrolling drag scenarios
  • Ensure proper widget hierarchy to avoid gesture conflicts
  • Test on all target platforms for consistent behavior

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Rivership Workspace

Powered by Mason melos Code Coverage Bluesky

Rivership is a set of opinionated tools that will get you shipping your Flutter app in no time!

This monorepo contains Rivership, and all its associated packages. Check out the packages/ directory to explore them, or jump straight to the Rivership README.

Package overview

Package pub.dev Description
rivership Pub Version An opinionated infrastructure package for use with hooks_riverpod.
rivership_test Pub Version A set of test utilities that are useful for testing riverpod apps
motor Pub Version A unified motion system for physics-based and duration-based animations.
springster Pub Version Spring animations and simulations, simplified.
heroine Pub Version The queen of hero transitions. Flutter's most addictive interactions.
snaptest Pub Version Snap photos in your widget tests.
scroll_drag_detector Pub Version A drag gesture detector that can deal with scroll views inside of it.
stupid_simple_sheet Pub Version A simple sheet widget for Flutter.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.

Rankings