notify method
Implementation
@override
void notify(bool check) {
isCheck = check;
if (mounted) {
setState(() {
if (isCheck) {
_iconData = widget.checkIcon;
} else {
_iconData = widget.uncheckIcon;
}
});
}
}