notifyClients method

bool notifyClients()

In harmony with Flutter's own API there's also a notifyClients() function Rebuild the InheritedWidget of the 'closes' InheritedStateX object if any.

Implementation

bool notifyClients() {
  if (_useInherited) {
    setState(() {});
  }
  return _useInherited;
}