fix: add listener widget for interactive viewer - #6761
Conversation
|
Reviewed - the approach is correct and I verified the mechanism works. A few things before merge. Why the bug happens (for the record)Flutter's I confirmed both halves with a throwaway widget test - a
Zoom keeps working precisely because I also diffed Requested changes
One design questionThe predicate claims the event whenever the viewer would handle it, not whenever it actually did something. That creates two dead zones:
There is a clean fix, and I verified the ordering it relies on: the wrapper Whether you want that is a judgment call, since some viewers deliberately swallow at the zoom limit, but the trackpad case looks worth handling either way. CI
|
Description
Test code
Type of change
Checklist
website/sidebars.ymlfor breaking changes, removals, and deprecations, if applicable.Video
Screencast.From.2026-08-07.15-25-26.webm
Summary by Sourcery
Bug Fixes: