dependOnInheritedWidget method

bool dependOnInheritedWidget(
  1. BuildContext? context
)

Link a widget to a InheritedWidget

Implementation

bool dependOnInheritedWidget(BuildContext? context) =>
    _stateX?.dependOnInheritedWidget(context) ?? false;