Skip to content

Commit 2f1222f

Browse files
🍴 Add alternative case names (#264)
1 parent e5c880c commit 2f1222f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎docs/resources/style-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Best practices for naming conventions in app development (especially for project
1414

1515
Various naming styles (as suggested by [Dart Effective Style Guide](https://dart.dev/effective-dart/style#identifiers)):
1616

17-
- **UpperCamelCase** names capitalize the first letter of each word, including the first.
17+
- **UpperCamelCase** (also known as PascalCase) names capitalize the first letter of each word, including the first.
1818

19-
- **lowerCamelCase** names capitalize the first letter of each word, except the first which is always lowercase, even if it's an acronym.
19+
- **lowerCamelCase** (also known as camelCase) names capitalize the first letter of each word, except the first which is always lowercase, even if it's an acronym.
2020

21-
- **lowercase_with_underscores** names use only lowercase letters, even for acronyms, and separate words with _.
21+
- **lowercase_with_underscores** (also known as snake_case) names use only lowercase letters, even for acronyms, and separate words with _.
2222

2323
![various-naming-styles.png](imgs/various-naming-styles.png)
2424

@@ -140,4 +140,4 @@ Custom functions and custom actions created in the Custom Code tab of FlutterFlo
140140
- **Don’t use overly generic names:** Avoid vague terms like `doSomething` or `functionOne`, which don’t provide context.
141141
:::
142142

143-
Note that **[Action Blocks](../resources/control-flow/functions/action-blocks.md)** should follow the same naming convention as custom actions, as they are both technically Dart functions internally in the generated code.
143+
Note that **[Action Blocks](../resources/control-flow/functions/action-blocks.md)** should follow the same naming convention as custom actions, as they are both technically Dart functions internally in the generated code.

0 commit comments

Comments
 (0)