Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 581 Bytes

coding_standard.md

File metadata and controls

19 lines (10 loc) · 581 Bytes

Coding standard

This page describes coding standard used in this project briefly.

Naming convention

File naming convention

  • For widget files, it is named using PascalCase (Eg. VideosPage.dart , Video.dart).

  • For other files, it is named using snake_case (Eg. youtube_vendor.dart,util.dart).

Variables naming convention

  • Variables, Properties are named using camelCase. (Eg. variableA);

  • Classes are named using PascalCase. (Eg. ClassA);

  • Constants are named using Upper SNAKE_CASE (Eg. THEME_MODE).