How to get CheckBox label to display to a New Page on Button Click in Flutter. code example
Example: check button flutter
// Please format your code
CheckboxListTile _ = CheckboxListTile(
title: const Text("title text"),
value: checkedValue,
onChanged: (newValue) {
setState(() {
checkedValue = newValue;
});
},
controlAffinity: ListTileControlAffinity.leading, // <-- leading Checkbox
);