mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This change consists of several UI changes: - Added theming support for light and dark mode based on system preferences - Pulled in a subset of the DevTools theming constants - Reduced size of widget preview buttons and controls - Added initial support for setting theme based on IDE parameters passed as query parameters. This does not include responding to theme changes made after the widget previewer is loaded. - Fixed issue where the `WidgetPreviewErrorWidget` would still show controls, even though they aren't relevant **IDE Theming Example:** <img width="1149" height="571" alt="image" src="https://github.com/user-attachments/assets/d84beacd-6b1c-4186-b793-88aae58613c1" />