• Kristin Ho's avatar
    Prevent PointerEnter[or Exit]Event from erasing event.down value (#40637) (#41332) · 034358e3
    Kristin Ho authored
    * MouseRegion documentation claimed that onEnter and onExit
      would track entry and exit regardless of whether the pointer was
      down or up
    * It did such, but when grabbing the value of `event.down` from
      the passed event, the value was always `false`
    * PointerEnterEvent and PointerExitEvent were overriding the value
      passed from PointerEvent in constructors, even if the value was true
      e.g. in invocations of .fromMouseEvent((PointerMoveEvent...))
    * This change now passes the value along to PointerEnter/ExitEvents
      while providing it a default of false, and updates documentation
    
    Fixes #40637
    034358e3
Name
Last commit
Last update
..
flutter Loading commit data...
flutter_driver Loading commit data...
flutter_goldens Loading commit data...
flutter_goldens_client Loading commit data...
flutter_localizations Loading commit data...
flutter_test Loading commit data...
flutter_tools Loading commit data...
flutter_web_plugins Loading commit data...
fuchsia_remote_debug_protocol Loading commit data...
analysis_options.yaml Loading commit data...