Created
May 26, 2020 09:26
-
-
Save hydroweaver/5f10947dd910feb3d276fc88aecdbd74 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CheckboxListTile( | |
value: toggle, | |
onChanged: (bool){ | |
setState(() { | |
if(!bool){ | |
toggle = false; | |
} | |
else{ | |
toggle = true; | |
} | |
}); | |
}, | |
key: Key(item), | |
title: _strikeThrough(todoText: item, todoToggle: toggle), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment