Variables: Default value

Uninitialized variables have an initial value of null.

Even variables with numeric types are initially null, because numbers — like everything else in Dart — are objects.

Related concepts

Variables: Default value — Structure map

Clickable & Draggable!

Variables: Default value — Related pages: