• Tong Mu's avatar
    Improve MouseTracker lifecycle: Move checks to post-frame (#44631) · afb8f382
    Tong Mu authored
    This PR rewrites MouseTracker's lifecycle, so that mouse callbacks are all triggered in post frame, instead of the current one where some are triggered during the build phase. This PR also changes the onExit callback to MouseRegion, RenderMouseRegion, and MouseTrackerAnnotation, so that it is no longer triggered on dispose.
    afb8f382
ink_well_test.dart 13.9 KB