use_named_constants
should have tests with constant patterns
#59088
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-false-negative
linter-new-language-feature
P2
A bug or feature request we're likely to work on
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Child issue of #58837
I think there should be a test case with a constant pattern like:
in which the lint rule would recommend using
Duration.zero
instead ofDuration(seconds: 0)
.The text was updated successfully, but these errors were encountered: