Search packages, repositories and app categories

Package detailsv0.2.1

simple_gesture_detector

Easy to use, reliable and lightweight gesture detector for Flutter apps. Exposes simple API to react to basic gestures.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
752K
Likes
56
Pub points
140

Install package

flutter pub add simple_gesture_detector

Package Overview

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

A lightweight and reliable Flutter package for detecting basic touch gestures such as taps, long presses, and drags. It provides a simple, intuitive API that makes it easy to respond to user interactions without boilerplate code. Ideal for developers seeking straightforward gesture handling in cross-platform apps. The package supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases

  • Handling tap events in UI components
  • Implementing long press actions
  • Adding drag-and-drop functionality
  • Building interactive widgets
  • Creating responsive touch interfaces

Key features

  • Minimal API surface
  • Cross-platform compatibility
  • Lightweight footprint
  • Reliable gesture recognition
  • Easy integration with existing widgets

Suitable for

  • Beginner Flutter developers
  • Simple gesture needs
  • Performance-sensitive applications
  • Rapid prototyping
  • Apps targeting multiple platforms

Considerations

  • Limited to basic gestures
  • No advanced gesture customization
  • Not suitable for complex multi-touch scenarios
  • Depends on external maintenance
  • Lacks built-in animation support

Original README

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

Simple Gesture Detector

Pub Package

Easy to use, reliable and lightweight gesture detector for Flutter apps. Exposes simple API to react to basic gestures.

Features

  • Detect swipe gesture - and expose simple callbacks
  • Detect tap gestures (onTap, onDoubleTap, onLongPress)
  • Configure gesture recognition

Usage

Make sure to check out example project. For additional info please refer to API docs.

Installation

Add to pubspec.yaml:

dependencies:
  simple_gesture_detector: ^0.2.1

Categories

Source repository

Projects using this package