Skip to content

Glossary: Dart Basics

main

Also written: void main()

The function every Dart program starts by running. It may take a List<String> of command-line arguments.

Where the book teaches it

Related terms

functioncommand-line arguments