Gestures

pub package

Custom Gesture Detector for Flutter. Empower your users with custom gestures.

How to use

In your pubspec.yaml:

dependencies:
  gestures: ^0.0.1
import 'package:gestures/gestures.dart';

Basic construction of the widget:

CustomGestureDetector(
  gestures: [
    GestureLine(AxisDirection.down),
    GestureLine(AxisDirection.right),
    GestureLine(AxisDirection.up),
  ],
  onGestureEnd: (success) {
    if (success) {
      // TODO: your action here..
    }
  },
  child: Container(),
)

License

Licensed under the MIT license.

Libraries

gestures