of static method

Implementation

static TitleBarWebViewState of(BuildContext context) {
  final TitleBarWebViewState? result =
      context.dependOnInheritedWidgetOfExactType<TitleBarWebViewState>();
  assert(result != null, 'No WebViewState found in context');
  return result!;
}