updateShouldNotify method

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

Whether dependents should rebuild when this widget updates.

Implementation

@override
bool updateShouldNotify(covariant ReloadScope oldWidget) {
  return controller != oldWidget.controller;
}