• 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
..
animation Loading commit data...
cupertino Loading commit data...
examples Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
harness Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
semantics Loading commit data...
services Loading commit data...
widgets Loading commit data...
flutter_test_alternative.dart Loading commit data...
flutter_test_config.dart Loading commit data...