dependOnInheritedWidget method

bool dependOnInheritedWidget(
  1. BuildContext? context
)
inherited

Link a widget to an InheritedWidget

Implementation

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