updateShouldNotify method
Determines if the widget should notify its dependents when the controller changes.
This method returns true if the current controller is different from the old controller.
Implementation
@override
bool updateShouldNotify(covariant MinProvider<T> oldWidget) =>
controller != oldWidget.controller;