dependOnInheritedWidget method

void dependOnInheritedWidget(
  1. BuildContext? context
)

Link a widget to a InheritedWidget in the root State object.

Implementation

void dependOnInheritedWidget(BuildContext? context) =>
    appState?.dependOnInheritedWidget(context);