tap_canvas library

Classes

TapCanvas
TapCanvas represents the area on which taps are tracked, in order to determine taps outside widgets like TapOutsideDetectorWidget. In general it makes sense to put this widget as high up the widget tree as possible, but it could be added anywhere above TapOutsideDetectorWidget, such that it could lower the area of "taps outside" tracking.
TapOutsideDetectorWidget
Wrap any widget you would like to get a callback when outside that widget has been tapped.