Dart coding guidelines

This article provides guidelines for Dart code that is easy to understand and maintain.

The target audience are Dart developers contributing to one of my projects, be it open source or commercial. It can also be of interest for people who are looking for a basis for their own guidelines.

This document is distributed under the CC BY 4.0 license.

Style and naming

Apply the guidelines described in Effective Dart: style.

Exception: Maximum line length is 120.

Pre-commit hooks

Use dart-pre-commit.