The Open DICOMweb Project follows the recommendations in Effective Dart including the guides for Style, Documentation, Usage, and Design. It also follows the Flutter conventions.
In the past we have followed the original Dart convention of making const names
all uppercase. Later we switch to a convention of prefixing const names with
$. Currently, we are following the convention of using the prefix "k" for
const names, which creates less ugly names. For example:
const int kVRLength = 2;
const int kStudyInstnaceUid = 0x002000D;
Any new code that is checked in should use this convention for constants.
All integer tag values should be written in hexadecimal. For example,
const int kSpecificCharacterSet = 0x00080005;
TODO:
1. Extend this list going forward.