non_constant_identifier_names

Group: style

Maturity: stable

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

flutter

View the Project on GitHub dart-lang/linter

DO name non-constant identifiers using lowerCamelCase.

Class members, top-level definitions, variables, parameters, named parameters and named constructors should capitalize the first letter of each word except the first word, and use no separators.

GOOD:

var item;

HttpRequest httpRequest;

align(clearItems) {
  // ...
}