TouchRippleConsecutiveCallback typedef

TouchRippleConsecutiveCallback = bool Function(Offset offset, int count)

Signature for the callback function that is called when a consecutive touch ripple event occurs, combining both the behavior of TouchRippleCallback and TouchRippleContinuableCallback.

The offset parameter provides the position of the touch event relative to the widget coordinate system, and the count parameter indicates how many times the event has occurred consecutively. The returned bool specifies whether the event should continue after the consecutive occurrence.

Implementation

typedef TouchRippleConsecutiveCallback = bool Function(Offset offset, int count);