widgetDidUpdate method

  1. @override
void widgetDidUpdate(
  1. T oldWidget
)
override

Called after the widget is updated. Use this to initialize the new widget.

Implementation

@override
void widgetDidUpdate(final T oldWidget) {
  state._widget = widget;
  super.widgetDidUpdate(oldWidget);
  state.widgetDidUpdate(oldWidget);
}