While loops and do while loops are allowed in Dart:
while(peopleAreClapping()) {
playSongs();
}
and:
do {
processRequest();
} while(stillRunning());
Loops can be terminated using a break:
while (true) {
if (shutDownRequested()) break;
processIncomingRequests();
}
You can skip iterations in a loop using continue:
for (var i = 0; i < bigNumber; i++) {
if (i.isEven){
continue;
}
doSomething();
}