Previously, VS Code would automatically show the warning:
Try adding the 'const' keyword to the constructor invocation
However, now it only appears if I explicitly add
prefer_const_constructors: true
in my analysis_options.yaml.
I want VS Code to show this warning automatically without needing to enable the rule manually in every project.
Flutter Version : 3.29.0
Dart Version : 3.7.0
