notify method

  1. @override
void notify(
  1. bool check
)
override

Implementation

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