WidgetGestureX extension
Extension methods for adding gestures to widgets
- on
Methods
-
gestures(
{VoidCallback? onTap, VoidCallback? onDoubleTap, VoidCallback? onLongPress, GestureTapDownCallback? onTapDown, GestureTapUpCallback? onTapUp, GestureTapCancelCallback? onTapCancel}) → Widget -
Available on Widget, provided by the WidgetGestureX extension
Add multiple gestures -
inkWell(
{VoidCallback? onTap, VoidCallback? onDoubleTap, VoidCallback? onLongPress, BorderRadius? borderRadius}) → Widget -
Available on Widget, provided by the WidgetGestureX extension
Make widget tappable with ripple effect -
onDoubleTap(
VoidCallback onDoubleTap) → Widget -
Available on Widget, provided by the WidgetGestureX extension
Add onDoubleTap gesture -
onLongPress(
VoidCallback onLongPress) → Widget -
Available on Widget, provided by the WidgetGestureX extension
Add onLongPress gesture -
onTap(
VoidCallback onTap) → Widget -
Available on Widget, provided by the WidgetGestureX extension
Add onTap gesture