dependOnInheritedWidget method

bool dependOnInheritedWidget(
  1. BuildContext? context
)

Link a widget to a InheritedWidget of type U

Implementation

bool dependOnInheritedWidget(BuildContext? context) =>
    _inheritedStatefulWidget.dependOnInheritedWidget(context);