fix: keep network search field enabled after clearing calls (#9855)

* fix: keep network search field enabled after clearing calls

The Network screen search field was gated on whether any requests were present, so clearing all calls left the field disabled and the query could no longer be edited. Drop the hasRequests gate so the field stays enabled at all times, matching the default search field behavior used elsewhere in DevTools.

Fixes #9853

* Add release note entry for network search field fix (#9855)

* refactor: drop redundant filteredData listener in network controls

The network search field is now always enabled and no longer reads
controller.filteredData in build, so this listener only forced needless
rebuilds of the controls row on every filter change.

* fix: reload network test fixtures each test to prevent shared-ref drain

Clear button mutations on httpProfile/socketProfile in FakeVmServiceWrapper
clear the underlying lists in place. Since setUpAll shared the same fixture
refs across all tests, a test that taps Clear would leave empty profiles for
the next test. Move fixture load to setUp so each test gets fresh instances.

Fixes CI failures on test_ddc and test_dart2js.

* fix: restore IdeTheme global in network profiler test setUpAll

* test: restore httpProfile load in setUpAll

Keep loading both fixtures in setUpAll like before; the per-test reload in the group setUp is what guarantees a clean copy for the clear-calls test.
3 files changed
tree: 333dd8a42ec587b36c5a543567c5d8116f546a80
  1. .agents/
  2. .gemini/
  3. .github/
  4. .vscode/
  5. _markdown_images/
  6. docs/
  7. packages/
  8. third_party/
  9. tool/
  10. .gitattributes
  11. .gitignore
  12. AGENTS.md
  13. analysis_options.yaml
  14. AUTHORS
  15. BETA_TESTING.md
  16. CLAUDE.md
  17. CODE_OF_CONDUCT.md
  18. CODEOWNERS
  19. CONTRIBUTING.md
  20. DEBUGGING.md
  21. devtools_options.yaml
  22. DOCUMENTATION.md
  23. flutter-candidate.txt
  24. LICENSE
  25. pubspec.lock
  26. pubspec.yaml
  27. README.md
  28. STYLE.md
  29. TESTING.md
  30. TRIAGE.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.