updateShouldNotify method

  1. @override
bool updateShouldNotify(
  1. covariant InheritedWidget oldWidget
)
override

Yet this forever true because otherwise hot reload not working.

Implementation

@override
bool updateShouldNotify(InheritedWidget oldWidget) {
  return true;
}