When making changes to this code base, follow these rules, which are listed in no particular order:
packages/devtools_sharedshould never introduce a Flutter dependency or a dependency on web-only Dart libraries.- never import the
packages/devtools_app/lib/devtools_app.dartfile in code that lives underpackages/devtools_app/lib/src/. This file is okay to import in code that lives underpackages/devtools_app/test/.
Unit test and widget tests are all contained under a package's test/
directory. These tests should be run with flutter test in all packages except
for packages/devtools_shared, whose tests should be run with dart test.
- Prefer to use MCP server tools over shell commands whenever possible.
- When you are done making code changes, ensure the code does not have analysis
errors or warnings. Also ensure it is formatted properly. You should have MCP
server tools available to you to perform these tasks. If not, you can get
analysis errors and warnings by running the
dart analyzeshell command, and you can perform Dart formatting with thedart formatshell command.