Skip to content

Conversation

rustkas
Copy link

@rustkas rustkas commented Nov 7, 2020

Effective Dart: Style
Linter rule

In new code, use lowerCamelCase for constant variables, including enum values.

In existing code that uses ALL_CAPS_WITH_UNDERSCORES for constants, you may continue to use all caps to stay consistent.

Anatolii added 2 commits November 7, 2020 10:06
[Effective Dart: Style](https://dart.dev/guides/language/effective-dart/style#prefer-using-lowercamelcase-for-constant-names)
[Linter rule](https://dart-lang.github.io/linter/lints/constant_identifier_names.html)

In new code, use lowerCamelCase for constant variables, including enum values.

In existing code that uses ALL_CAPS_WITH_UNDERSCORES for constants, you may continue to use all caps to stay consistent.
…nstant-names-1

PREFER using lowerCamelCase for constant names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant