Sobes.tech
Junior

What are the naming rules for source code files in Dart?

sobes.tech AI

Answer from AI

File names in Dart should be written in lowercase in snake_case style.

Examples:

  • my_widget.dart
  • data_service.dart
  • user_model.dart