utils/hit_test_gesture_detector library

Classes

HitTestableGestureDetector<T extends Object>
A Gesture Detector that uses a Listener for taps (to capture hits and misses without blocking the gesture arena for underlying layers) and a RawGestureDetector for drags/long-presses (which require arena participation to claim the gesture from the Map).
HitTestableLongPressGestureRecognizer<T>
HitTestablePanGestureRecognizer<T>

Typedefs

DragEndWithDataCallback<T> = void Function(DragEndDetails details, T data)
DragStartWithDataCallback<T> = void Function(DragStartDetails details, T data)
DragUpdateWithDataCallback<T> = void Function(DragUpdateDetails details, T data)
HitTestCallback<T> = T? Function(Offset localPosition)
HoverWithDataCallback<T> = void Function(PointerHoverEvent event, T? data)
LongPressEndWithDataCallback<T> = void Function(LongPressEndDetails details, T data)
LongPressMoveUpdateWithDataCallback<T> = void Function(LongPressMoveUpdateDetails details, T data)
LongPressStartWithDataCallback<T> = void Function(LongPressStartDetails details, T data)
TapUpWithDataCallback<T> = void Function(TapUpDetails details, T? data)