# 1.10 Naming Convention

> Learn the Effective Dart style guidelines for naming variables, functions, classes and files.

- URL: https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls09.1-naming-convention
- Course: Master Flutter (https://www.appwriters.dev/courses/master-flutter)
- Chapter: 1. The Dart Basics

---

The Effective Dart style guide and its naming conventions provide a set of guidelines for writing Dart code that is easy to read, easy to change, and easy to maintain. The guidelines are intended to be used by all Dart users, whether you are writing a small program or a large-scale application. These guidelines help set a standard across teams and projects.

## Practice

- Use `UpperCamelCase` for classes, enums, typedefs, extensions and type parameters.
- Use `lowerCamelCase` for variable names, function names, parameter names, and named constants.
- Use `lowercase_with_underscores` for packages, directories, and source files.
- Start a name with an underscore (`_`) only to make it private to its library.
- Run `dart format` to format your code the standard way.


## Resources

- [Effective Dart: Style](https://dart.dev/effective-dart/style)
