gestures

Last updated:

0 purchases

gestures Image
gestures Images
Add to Cart

Description:

gestures

Gestures #

Custom Gesture Detector for Flutter. Empower your users with custom gestures.
How to use #
In your pubspec.yaml:
dependencies:
gestures: ^1.0.0
copied to clipboard
import 'package:gestures/gestures.dart';
copied to clipboard
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(),
);
}
copied to clipboard
License #
Licensed under the MIT license.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.