getChildContext method

  1. @override
  2. @mustCallSuper
  3. @Deprecated('Only supported in the deprecated Component, and not in Component2. See doc comment for more info.')
Map<String, dynamic> getChildContext()
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.')
Map<String, dynamic> getChildContext() => throw _unsupportedLifecycleError('getChildContext');