Skip to content

Glossary: Dart Basics

const constructor

Also written: const constructors

A constructor marked const that lets you make const objects before the program runs. Every field of the class must be final.

Where the book teaches it

Related terms

constconstructorfinal