componentWillUpdateWithContext method

  1. @override
  2. @mustCallSuper
  3. @Deprecated('Only supported in the deprecated Component, and not in Component2. See doc comment for more info.')
void componentWillUpdateWithContext(
  1. Map nextProps,
  2. Map nextState,
  3. dynamic nextContext
)
inherited

Do not use; this is part of the legacy context API.

See createContext for instructions on using the new context API.

Will be removed when Component is removed in a future major release.

Implementation

@override
@mustCallSuper
@Deprecated('Only supported in the deprecated Component, and not in Component2. See doc comment for more info.')
void componentWillUpdateWithContext(Map nextProps, Map nextState, dynamic nextContext) =>
    throw _unsupportedLifecycleError('componentWillUpdateWithContext');