[flutter_tools] The UserMessages
class should be deprecated
#125155
Labels
c: tech-debt
Technical debt, code quality, testing, etc.
P3
Issues that are less important to the Flutter project
team-tool
Owned by Flutter Tool team
tool
Affects the "flutter" command-line tool. See also t: labels.
triaged-tool
Triaged by Flutter Tool team
The tool has a
UserMessages
class that houses some user messages displayed to the user by the flutter tool. However, many messages are not stored in this class (example).Going back to the PR that introduced it, it's still unclear what the original intent was. See this comment from @Hixie on the PR.
The class does allow partial reimplementations of the flutter tool to override messages, and it sees very light use in g3. However, it is unclear if this is worth the confusion this class can cause.
Some possible ways to address this:
The text was updated successfully, but these errors were encountered: