mardi 10 juillet 2018

Flutter: My checkbox does not announce change when clicked

I have only one checkbox ti remember user information when logged in! I used radiobutton at first but it didn't work so i changed to checkbox and the same happens .this is how I declared my checkbox into my build method.

final remember=Checkbox(activeColor: Colors.green, value: statut, onChanged: (bool val) {setState(() { statut=val; });},);




Aucun commentaire:

Enregistrer un commentaire