maybeOf static method
The nearest scope, or null when the widget is not inside one.
Implementation
static THighlightScope? maybeOf(BuildContext context) => context.dependOnInheritedWidgetOfExactType<THighlightScope>();
The nearest scope, or null when the widget is not inside one.
static THighlightScope? maybeOf(BuildContext context) => context.dependOnInheritedWidgetOfExactType<THighlightScope>();