dependOnInheritedWidget static method

void dependOnInheritedWidget(
  1. BuildContext? context
)

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

Implementation

static void dependOnInheritedWidget(BuildContext? context) =>
    _appState?.dependOnInheritedWidget(context);