mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This change allows for the widget previewer to react to `activeLocationChanged` events sent over the `Editor` DTD service to automatically filter the set of visible previews based on the currently selected file in the IDE. This functionality can be turned on or off depending on whether or not the developer wants to see all previews in the project at once. This change also includes some minor refactoring and UI changes to move the widget preview environment controls to a reserved area at the bottom of the preview window. **Demo:** https://github.com/user-attachments/assets/c3b93826-8437-4655-8264-6beed6651fe7