• 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
..
arena.dart Loading commit data...
binding.dart Loading commit data...
constants.dart Loading commit data...
converter.dart Loading commit data...
debug.dart Loading commit data...
drag.dart Loading commit data...
drag_details.dart Loading commit data...
eager.dart Loading commit data...
events.dart Loading commit data...
force_press.dart Loading commit data...
hit_test.dart Loading commit data...
long_press.dart Loading commit data...
lsq_solver.dart Loading commit data...
monodrag.dart Loading commit data...
mouse_tracking.dart Loading commit data...
multidrag.dart Loading commit data...
multitap.dart Loading commit data...
pointer_router.dart Loading commit data...
pointer_signal_resolver.dart Loading commit data...
recognizer.dart Loading commit data...
scale.dart Loading commit data...
tap.dart Loading commit data...
team.dart Loading commit data...
velocity_tracker.dart Loading commit data...