• Chris Bracken's avatar
    Dispatch hover events to PlatformViewController (#46124) · fa0c49d7
    Chris Bracken authored
    This adds support to PlatformViewLayer for handling hover events. Prior
    to this, PlatformViewLayers only supported events forwarded by the
    gesture recognizers associated with the PlatformViewRenderBox. Hover
    events don't participate in gesture recognition and as such are dropped
    in GestureBinding. That said, hover event processing in platform views
    is expected for desktop and other platforms with hover event support.
    
    This adds support for passing an optional MouseTrackerAnnotation to
    PlatformViewLayer. PlatformViewRenderBox populates this with a mouse
    tracker annotation that forwards hover events to
    PlatformViewController.dispatchPointerEvent() for handling by users.
    fa0c49d7
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.codecov.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...