Skip to content

Glossary: Dart Basics

while loop

Also written: while, do-while

A loop that repeats its block as long as its condition is true, checking before each pass. A do-while checks at the end, so it runs at least once.

Where the book teaches it

Related terms

for loopendless loop