widgetDidUpdate method

void widgetDidUpdate(
  1. T oldWidget
)

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

Implementation

void widgetDidUpdate(final T oldWidget) {
  widget.ref?._currentNode = this;
}