notify method

  1. @override
void notify()
override

ItemHolder刷新

Implementation

@override
void notify() {
  if (_weakState[this]?.mounted ?? false) {
    // ignore: invalid_use_of_protected_member
    _weakState[this]?.setState(() {});
  }
}