didUpdateWidget method

  1. @mustCallSuper
void didUpdateWidget(
  1. covariant ReactiveWidgetInterface<T> oldWidget,
  2. T model
)

This function gives you an opportunity to update the view model when the widget updates.

For more details, see State.didUpdateWidget.

Implementation

@mustCallSuper
void didUpdateWidget(covariant ReactiveWidgetInterface<T> oldWidget, T model) { }