General Concepts

Entry point

The entry point of a Dart application is through the main() function. You can run an application using one of the following commands:

dart path/to/file.dart

or

pub run path/to/file.dart

Last updated

Was this helpful?