Skip to content

Style Guide

Kalle Johansson edited this page Nov 22, 2020 · 1 revision

We follow the guide Effective Dart so take a look at that before coding.

Documentation

We always aim for our code to be self-documenting but it's always good to provide context and explain complex code using comments.

Code

  • We prefer named parameters when there is more than one parameter.
  • We prefer a trailing comma in lists, parameters, etc.
  • We prefer short files.
  • We import local files with relative paths.

Clone this wiki locally