onStateUpdate method

  1. @protected
  2. @mustCallSuper
void onStateUpdate(
  1. CoreWidget oldWidget,
  2. CoreState<CoreWidget> state
)

Executed when State is changed and new state is available. Widget will try to resurrect State and injects args from 'cache' in holder.

Implementation

@protected
@mustCallSuper
void onStateUpdate(CoreWidget oldWidget, CoreState state) {
  _notifyHolder(state);
}