multiple_ declarations_ per_ line
Don’t declare multiple variables on a single line.
This rule is available as of Dart 2.13.0.
This rule has a quick fix available.
DON’T declare multiple variables on a single line.
String? foo, bar, baz;
String? foo; String? bar; String? baz;
To enable the
avoid_multiple_declarations_per_line under linter > rules in your
linter: rules: - avoid_multiple_declarations_per_line