Naming Convention
let's say our library name is Camis_Core
Language Feature | Format | Example | Filename |
---|---|---|---|
Interface | YOUR_LIBRARY_NAME IntYOUR_INTERFACE_NAME |
Camis_Core_Int_Test | int_test.dart |
Extension | YOUR_LIBRARY_NAME ExtYOUR_EXTENSION_NAME |
Camis_Core_Ext_Test | ext_test.dart |
Mixin | YOUR_LIBRARY_NAME MixYOUR_MIXIN_NAME |
Camis_Core_Mix_Test | mix_test.dart |
Class | YOUR_LIBRARY_NAME ClaYOUR_CLASS_NAME |
Camis_Core_Cla_Test | cla_test.dart |
Typedef | YOUR_LIBRARY_NAME TypYOUR_TYPE_DEFINITION_NAME |
Camis_Core_Typ_Test | typ_test.dart |
Enum | YOUR_LIBRARY_NAME EnuYOUR_ENUM_NAME |
Camis_Core_Enu_Test | enu_test.dart |
If a file contains multiple language feature such as interface, extension, class, etc then you can names the filename without follow table above.