onHitTest property
A callback invoked when the platform wants to hit test a FlutterView.
For example, this is used by iOS to determine if a gesture hits a
UIKitView.
Implementation
HitTestCallback? get onHitTest => _onHitTest;
Implementation
set onHitTest(HitTestCallback? callback) {
_onHitTest = callback;
_onHitTestZone = Zone.current;
}