Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aleksanderwozniak/simple_gesture_detector

Easy to use, reliable and lightweight gesture detector for Flutter apps, exposing simple API for basic gestures
https://github.com/aleksanderwozniak/simple_gesture_detector

flutter flutter-package flutter-plugin gesture gesture-detection swipe

Last synced: 12 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Simple Gesture Detector

[![Pub Package](https://img.shields.io/pub/v/simple_gesture_detector.svg?style=flat-square)](https://pub.dartlang.org/packages/simple_gesture_detector)

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](https://github.com/aleksanderwozniak/simple_gesture_detector/tree/master/example).
For additional info please refer to [API docs](https://pub.dartlang.org/documentation/simple_gesture_detector/latest/simple_gesture_detector/simple_gesture_detector-library.html).

### Installation

Add to pubspec.yaml:

```yaml
dependencies:
simple_gesture_detector: ^0.2.1
```