FLUTTER ECOSYSTEM

swipedetector

A Flutter package to detect up, down, left, right swipes.

Latest version
1.2.0
30-day downloads
46
Likes
67
Pub points
5

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

swipedetector is a lightweight Flutter package designed to detect directional swipes—up, down, left, and right—on touch-enabled devices. It simplifies gesture recognition by providing a clean API to listen for swipe events without requiring complex custom gesture detectors. Ideal for apps needing intuitive touch navigation, such as sliders, card-based interfaces, or interactive tutorials. The package focuses solely on swipe detection, making it efficient and easy to integrate.

Use cases
  • Card flipping interfaces
  • Swipe-based navigation
  • Interactive onboarding screens
  • Gesture-driven game controls
  • Simple touch-based UI interactions
Key features
  • Detects up, down, left, and right swipes
  • Minimal setup with clear API
  • Lightweight and focused functionality
  • No external dependencies
  • Works across all platforms
Suitable for
  • Developers building touch-heavy UIs
  • Apps with swipe-based navigation
  • Simple gesture recognition needs
  • Prototyping interactive layouts
  • Educational or tutorial apps
Considerations
  • Does not support pinch or rotate gestures
  • Limited to basic swipe directions
  • No built-in animation support
  • Requires manual handling of swipe thresholds
  • Not suitable for complex multi-gesture scenarios
Supported platformsNot available

Install package

flutter pub add swipedetector

Categories

Related projects