You can add as many conditions as you want to your conditional statement by using else if , but it’s really important to pay attention to the order in which the app checks the conditions.
Read moreWhat is an example of an if statement?
if (score >= 90) grade = ‘A’; The following example displays Number is positive if the value of number is greater than or equal to 0 . If the value of number is less than 0 , it displays Number is negative .
Read moreHow do you write if else condition in flutter?
Ways to Use If Else Statement in Flutter Widget
Read moreHow do you write an IF and ELSE condition?
Conditional Statements
Read more