mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This change: - Hides `v` from the help menu on web in profile/release mode - Keeps `v` available in debug and on native platforms - Change command order: `v` now appears before `s` in help - Updates `_commonTerminalInputHandler` to block `v` on web in release mode Testing: - Added new test: `printHelpDetails hides v on web in profile mode` - Added new test: 'v - does not launchDevToolsInBrowser on web in profile mode' - Fixed existing test to match correct command order (`v` before `s`) fixes #143451 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [ ] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [ ] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. --------- Co-authored-by: Daniil Lipatkin <nt4f04uNd@gmail.com> Co-authored-by: Ben Konyi <bkonyi@google.com>