A conditional statements are the statements that executes a block of code if the condition is satisfied. There are different type of conditional statements in dart.
if statement:- An if statement consists of Boolean experssions (true or false) which is followd by one or more statements.
if..else statement:- An if is followed by else block . The else block is executed when the if statement produces false.
else..if ladder:- The else..if ladder is used for multiple conditions to check from to execute the statement.
switch case statement:- The switch statement evaluates an expression and matches them to the case clause that they are assigned with.