TouchRippleDragCallback typedef

TouchRippleDragCallback = void Function(double delta)

Signature for the callback function that is called when the user drags
horizontally(e.g. left, right) or vertically(e.g. top, bottom) and the gesture event is accepted.

The delta parameter represents the distance dragged by the user.

Implementation

typedef TouchRippleDragCallback = void Function(double delta);