touch_interceptor library

A widget that intercepts touch events and sends them to other widgets underneath.

Classes

TouchConsumer
A widget that listens for events from the nearest TouchInterceptor ancestor and calls callbacks in response to them.
TouchInterceptor
A widget that intercepts pointer events and sends them to every TouchConsumer widget placed underneath.

Exceptions / Errors

TouchInterceptorNotFoundError
Thrown when a TouchInterceptor is not found above in the widget tree.