While Loop

suggest change

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();
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents