Use theme preference from IDE when embedded instead of preference (#6581)

* Use theme preference from IDE when embedded instead of preference

Currently the theme always comes from the preference and ignores what the IDE passes. Since there's no way to un-set the preference (or change it in the UI when embedded) this may prevent it matching the IDE.

This change always uses the IDE preference when embedded. It requires a change in VS Code to pass embed=true when embedding the sidebar since this was missing originally.
5 files changed
tree: b0d3d53bff4da751d25d2fa78996fc5cebf38f3b
  1. .github/
  2. bin/
  3. case_study/
  4. docs/
  5. packages/
  6. third_party/
  7. tool/
  8. .gitattributes
  9. .gitignore
  10. AUTHORS
  11. BETA_TESTING.md
  12. CODE_OF_CONDUCT.md
  13. CODEOWNERS
  14. CONTRIBUTING.md
  15. DOCUMENTATION.md
  16. flutter-candidate.txt
  17. LICENSE
  18. README.md
README.md

Dart & Flutter DevTools

Build Status OpenSSF Scorecard

What is this?

Dart & Flutter DevTools is a suite of performance tools for Dart and Flutter.

Getting started

For documentation on installing and trying out DevTools, please see our docs.

Contributing and development

Contributions welcome! See our contributing page for an overview of how to build and contribute to the project.

Terms and Privacy

By using Dart DevTools, you agree to the Google Terms of Service. To understand how we use data collected from this service, see the Google Privacy Policy.