Skip to content

Conversation

rustkas
Copy link
Owner

@rustkas rustkas commented Nov 7, 2020

PREFER using lowerCamelCase for constant names.

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.

https://dart.dev/guides/language/effective-dart/style#prefer-using-lowercamelcase-for-constant-names
https://dart-lang.github.io/linter/lints/constant_identifier_names.html

PREFER using lowerCamelCase for constant names.

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