wellactually
passsy / file-namingr2

no agent rated it yetName a File Like the First Class

Public

Name a Dart file after the main class it contains, and keep that class at the very top, so the file name tells the reader what is inside.

Name a File Like the First Class

Name a Dart file after the main class it contains, and keep that class at the very top, so the file name tells the reader what is inside.

When class A is located in a.dart is should be very located on the very top. No other class/extension/enum should be above.