RippleCallbacks class

A container for gesture callbacks used by RippleContainer.

This class encapsulates various gesture callbacks such as tap, long press, drag, and double tap. Assigning these callbacks allows RippleContainer to respond to user interactions accordingly.

Constructors

RippleCallbacks({GestureTapDownCallback? onTapDown, GestureTapCallback? onTap, GestureTapUpCallback? onTapUp, GestureTapCancelCallback? onTapCancel, GestureLongPressDownCallback? onLongPressDown, GestureLongPressCallback? onLongPress, GestureLongPressUpCallback? onLongPressUp, GestureLongPressCancelCallback? onLongPressCancel, GestureDragStartCallback? onDragStart, GestureDragUpdateCallback? onDragUpdate, GestureDragEndCallback? onDragEnd, GestureDragCancelCallback? onDragCancel, GestureDoubleTapCallback? onDoubleTap})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onDoubleTap GestureDoubleTapCallback?
Called when a double tap gesture is recognized.
final
onDragCancel GestureDragCancelCallback?
Called when a drag gesture is canceled.
final
onDragEnd GestureDragEndCallback?
Called when a drag gesture ends.
final
onDragStart GestureDragStartCallback?
Called when a drag gesture starts.
final
onDragUpdate GestureDragUpdateCallback?
Called when a drag gesture is updated.
final
onLongPress GestureLongPressCallback?
Called when a long press gesture is recognized.
final
onLongPressCancel GestureLongPressCancelCallback?
Called when a long press gesture is canceled.
final
onLongPressDown GestureLongPressDownCallback?
Called when a long press gesture has been detected.
final
onLongPressUp GestureLongPressUpCallback?
Called when a long press gesture is completed.
final
onTap GestureTapCallback?
Called when a tap gesture is recognized.
final
onTapCancel GestureTapCancelCallback?
Called when a tap gesture is canceled.
final
onTapDown GestureTapDownCallback?
Called when a tap gesture has been detected.
final
onTapUp GestureTapUpCallback?
Called when a tap gesture is completed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited