GestureExtension extension

Extension class to add gesture handling capabilities to a Widget.

on

Methods

onDoubleTap(VoidCallback callback) GestureDetector

Available on Widget, provided by the GestureExtension extension

Wraps the current Widget in a GestureDetector widget with a double tap gesture callback.
onInkDoubleTap(VoidCallback callback, {Color? splashColor, Color? focusColor, Color? hoverColor, bool enableFeedback = false, double? radius, BorderRadius? borderRadius, MouseCursor? mouseCursor}) InkWell

Available on Widget, provided by the GestureExtension extension

Wraps the current Widget in an InkWell widget with a double tap gesture callback and customizable ink splash parameters.
onInkTap(VoidCallback callback, {Color? splashColor, Color? focusColor, Color? hoverColor, bool enableFeedback = false, double? radius, BorderRadius? borderRadius, MouseCursor? mouseCursor}) InkWell

Available on Widget, provided by the GestureExtension extension

Wraps the current Widget in an InkWell widget with a tap gesture callback and customizable ink splash parameters.
onLongPress(VoidCallback callback) GestureDetector

Available on Widget, provided by the GestureExtension extension

Wraps the current Widget in a GestureDetector widget with a long press gesture callback.
onTap(VoidCallback callback) GestureDetector

Available on Widget, provided by the GestureExtension extension

Wraps the current Widget in a GestureDetector widget with a tap gesture callback.