gesture_pattern_detector 0.0.1 gesture_pattern_detector: ^0.0.1 copied to clipboard
gesture_pattern_detector is a Flutter package that allows developers to detect custom gesture patterns, similar to Morse code, in their apps. Define complex gestures by combining taps, long presses, a [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add gesture_pattern_detector
With Flutter:
$ flutter pub add gesture_pattern_detector
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
gesture_pattern_detector: ^0.0.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:gesture_pattern_detector/gesture_pattern_detector.dart';