updateShouldNotify method

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

Determines whether the framework should notify widgets that inherit from this widget.

In this case, always returns true as any changes in the LocalizationManager should trigger updates in dependent widgets.

Implementation

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