Control statements enable us to specify the flow of program control — that is, the order in which the instructions in a program must be executed. They make it possible to make decisions, to perform tasks repeatedly or to jump from one section of code to another.

There are 3 types of statements for flow controls in dart

  • Decision Making Statements[If_else if_else]
  • switch statements
  • loops

We will also learn about conditional statements in the section of if_else if_else statements.

We will also learn about, why we need to use switch over multiple if_else if statements. There are 3 types of loops out there in Dart. Differences between their declaration and use cases of them.