Skip to content

Glossary: Dart Basics

const

Also written: const object, const objects

Marks a value fixed before the program runs, such as a price. A const object with the same values is the same object, saving memory.

Where the book teaches it

Related terms

finalconst constructorvar