# simple_gesture_detector 0.2.1

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




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'simple_gesture_detector:0.2.1'
```
Published: 2024-02-17T19:24:24.168586Z
Expected archive SHA-256: ba2cd5af24ff20a0b8d609cec3f40e5b0744d2a71804a2616ae086b9c19d19a3

Available in cache; verification: upstream_checksum
## Direct dependencies
- flutter: map[sdk:flutter]

## Package README (untrusted upstream documentation)
# 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
```

## Changelog
## [0.2.1]

* Upgraded to Dart 3

## [0.2.0]

* Migrated to null safety

## [0.1.6]

* Migrated to AndroidX

## [0.1.5]

* Fixed potential null swipeOffset issue

## [0.1.4]

* Added onTap
* Added onDoubleTap
* Added onLongPress
* Updated dependencies

## [0.1.3]

* Added non-distinct continuous detection behavior
* Fixed minor issue with previousDirection
* Improved names of `SwipeDetectionBehavior` enum values

## [0.1.2]

* Added continuous detection behavior
* Merged swipe callbacks
* Added `SwipeDirection` enum
* Updated example project

## [0.1.1]

* Added documentation

## [0.1.0] - Initial release

* Added easy to use swipe gesture (both vertical and horizontal)
* Example included







 
