dependOnInheritedWidget method

  1. @override
bool dependOnInheritedWidget(
  1. BuildContext? context
)
override

Link a widget to a InheritedWidget

Implementation

@override
bool dependOnInheritedWidget(BuildContext? context) =>
    state?.dependOnInheritedWidget(context) ?? false;