updateShouldNotify method

bool updateShouldNotify(
  1. covariant InheritedWidget oldWidget
)

Determine if its dependencies should be updated.

Implementation

bool updateShouldNotify(covariant InheritedWidget oldWidget) {
  // Record the triggered event
  assert(() {
    if (_debugPrintEvents) {
      debugPrint(
          '$_consoleLeadingLine updateShouldNotify() in $_consoleClassName');
    }
    return true;
  }());
  return true;
}