Question : if else if in flutter ternary operator
Answered by : mouaz-anan
(foo==1)? something1():(foo==2)? something2(): something3();
Source : https://stackoverflow.com/questions/54567254/how-to-use-a-ternary-operator-with-multiple-condition-in-flutter-dart | Last Update : Wed, 20 Jul 22