[analyzer] fix for use_key_in_widget_constructors
should use super parameters when possible
#48946
Labels
analyzer-quick-fix
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P1
A high priority bug; for example, a single project is unusable or has many test failures
For a case like:
Adding 'key' to consturctor, would produce
which is then offered to "convert to using super parameters".
It would be better to directly use super parameters on adding the 'key'.
Dart SDK version: 2.18.0-75.0.dev (dev) (Sun May 1 14:47:57 2022 -0700) on "windows_x64"
The text was updated successfully, but these errors were encountered: