prefer_equal_for_default_values

Group: style

Maturity: stable

Linter v0.1.46

Since info is static, may be stale
recommendedflutterpedantic

View all Lint Rules

Using the Linter

From the style guide:

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

BAD:

m({a: 1})

GOOD:

m({a = 1})