vendredi 10 août 2018

using if statements and icons in flutter

i have an if statement and I want to set two conditions inside it as the following code shows:

if (subtitle !="you are currently not signed in" && Icon==Icons.bookmark_border) {.....}

but I cant do so since it is giving the following error "equality operator == invocation with reference of unrelated types".

Any idea about how to implement this

Aucun commentaire:

Enregistrer un commentaire