gestures 1.0.0 copy "gestures: ^1.0.0" to clipboard
gestures: ^1.0.0 copied to clipboard

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

Gestures #

pub package

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

How to use #

In your pubspec.yaml:

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

Basic construction of the widget:

Widget build(BuildContext context) {
  return 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.

6
likes
150
points
14.2k
downloads

Publisher

verified publisherandrebaltazar.com

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on gestures