simple_gesture_detector

v0.2.1

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

Архив пакета: https://pubdev.letsnova.ru/api/archives/simple_gesture_detector/0.2.1.tar.gz

Установкаdart pub add simple_gesture_detector

README

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
                

История изменений

[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