gesture_pattern_detector 0.0.4 gesture_pattern_detector: ^0.0.4 copied to clipboard
A Flutter package that detects custom gesture patterns (taps, swipes, long presses) to trigger actions, perfect for hidden features, dev tools, and unique interactions.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gesture_pattern_detector
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
gesture_pattern_detector: ^0.0.4
copied to clipboard
Alternatively, your editor might support 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';
copied to clipboard