[beta] Cherry-pick DevTools 2.51.1 into the SDK beta branch.

Cherry-picked commits in DevTools repo include:

* https://github.com/flutter/devtools/commit/1b39a2e3a2da180301ab3ee4d5953244da55fff1
  "Add basic support for Flutter web applications served with -d web-server"
  https://github.com/flutter/devtools/pull/9468
* https://github.com/flutter/devtools/commit/fb4fa1f3f645c45382c1850633235a78efc44e0e
  "Handle shortcuts for actions like copy/paste when embedded inside VS Code"
  https://github.com/flutter/devtools/pull/9472
* https://github.com/flutter/devtools/commit/cd14e27de650337c304afac71c9f1cad07f6dc72
  "Fix position and width of "error count" badge in Network in app bar"
  https://github.com/flutter/devtools/pull/9470
* https://github.com/flutter/devtools/commit/6b9ba48a461bf65df94b4aed918a0d4a3866b84c
  "Add a horizontal scrollbar to DevTools tables"
  https://github.com/flutter/devtools/pull/9482
* https://github.com/flutter/devtools/commit/1f8b3f50aac8144281ef96648cb066aee51b8321
  "Disable screens not compatible with DWDS websocket mode"
  https://github.com/flutter/devtools/pull/9481
* https://github.com/flutter/devtools/commit/8a4244775fa0b2863e9c1ea2ab39217bca53db71
  "Table columns are resizable"
  https://github.com/flutter/devtools/pull/9485
* https://github.com/flutter/devtools/commit/5c0b17a86914eecd152ddced467e485c8ba1ac25
  "Network panel: disable Header ExpansionTiles when no data"
  https://github.com/flutter/devtools/pull/9492
* https://github.com/flutter/devtools/commit/0dbead15a1dcb0ea12f56e7d80984e55e4cb8bc2
  "Network: add a banner indicating when we are not logging network requests"
  https://github.com/flutter/devtools/pull/9495

Issue description: Users were unable to use various functions in the
DevTools Network screen, including copy+paste, view requests, and
view the request table when embedded in a small window.
What is the fix: Various fixes are included for these user issues.
Why cherry-pick: Users reported these issues in the user survey pre-dating Flutter 3.35; it is important for user trust to fix these in
Flutter 3.38.
Risk: Low, this fix only affects DevTools.
Issue link(s): https://github.com/Dart-Code/Dart-Code/issues/3488, https://github.com/flutter/devtools/issues/7253, https://github.com/flutter/devtools/issues/9435, https://github.com/flutter/devtools/issues/8920, https://github.com/flutter/devtools/issues/9465, https://github.com/flutter/devtools/issues/9488, https://github.com/flutter/devtools/issues/9464
Cherry-pick: https://github.com/flutter/devtools/compare/v2.51.0...2.51.1
Change-Id: Iae696151778849fdb6faf6bf83a123f518fee77c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/458020
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Elliott Brooks <elliottbrooks@google.com>
1 file changed
tree: c392504bba2dd5cbdc5cd1d70f3f88516803ddb9
  1. .dart_tool/
  2. .github/
  3. benchmarks/
  4. build/
  5. docs/
  6. pkg/
  7. runtime/
  8. samples/
  9. sdk/
  10. tests/
  11. third_party/
  12. tools/
  13. utils/
  14. .clang-format
  15. .gitattributes
  16. .gitconfig
  17. .gitignore
  18. .gn
  19. .mailmap
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CHANGELOG.md
  24. codereview.settings
  25. CONTRIBUTING.md
  26. DEPS
  27. LICENSE
  28. OWNERS
  29. PATENT_GRANT
  30. PRESUBMIT.py
  31. pubspec.yaml
  32. README.dart-sdk
  33. README.md
  34. sdk.code-workspace
  35. sdk_args.gni
  36. sdk_packages.yaml
  37. SECURITY.md
  38. WATCHLISTS
README.md

Dart

An approachable, portable, and productive language for high-quality apps on any platform

Dart is:

  • Approachable: Develop with a strongly typed programming language that is consistent, concise, and offers modern language features like null safety and patterns.

  • Portable: Compile to ARM, x64, or RISC-V machine code for mobile, desktop, and backend. Compile to JavaScript or WebAssembly for the web.

  • Productive: Make changes iteratively: use hot reload to see the result instantly in your running app. Diagnose app issues using DevTools.

Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:

  • Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.

  • Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).

Dart platforms illustration

License & patents

Dart is free and open source.

See LICENSE and PATENT_GRANT.

Using Dart

Visit dart.dev to learn more about the language, tools, and to find codelabs.

Browse pub.dev for more packages and libraries contributed by the community and the Dart team.

Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).

Building Dart

If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.

There are more documents in our repo at docs.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

Roadmap

Future plans for Dart are included in the combined Dart and Flutter roadmap on the Flutter wiki.