onUpdateShouldNotify method

bool onUpdateShouldNotify(
  1. covariant InheritedWidget oldWidget
)
inherited

Should update the built-in InheritedWidget's dependencies

Implementation

bool onUpdateShouldNotify(covariant InheritedWidget oldWidget) {
  bool should;
  if (inUpdateShouldNotify != null) {
    should = inUpdateShouldNotify!(oldWidget);
  } else {
    should = true;
  }
  return should;
}