widgetWillUpdate method
void
widgetWillUpdate(
- T newWidget
Called before the widget is updated. Use this to remove references to the previous widget.
Implementation
void widgetWillUpdate(final T newWidget) {
widget.ref?._currentNode = null;
}