prefer_equal_for_default_values

Group: style

Maturity: stable

Dart SDK: >= 2.0.0 • (Linter v0.1.46)

pedantic

View the Project on GitHub dart-lang/linter

From the style guide:

DO Use = to separate a named parameter from its default value.

BAD:

m({a: 1})

GOOD:

m({a = 1})