updateShouldNotify method

  1. @override
bool updateShouldNotify(
  1. covariant MinProvider<T> oldWidget
)
override

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;