Skip to content

Conversation

@rustkas
Copy link
Owner

@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.

[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.
@rustkas rustkas merged commit f6edb03 into master Nov 7, 2020
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.

2 participants