Flutter: Prefer const with constant constructors.
I’m developing flutter application using android studio, in my code show yellow color line like this,
error: Prefer const with constant constructors
open “analysis_options.yaml” file located at the project root, and add this line to the linter rule,
prefer_const_constructors : false
linter: rules: prefer_const_constructors: false
To apply the changes, Run this command in terminal,
dart fix --apply