of static method

_PopupWindowButtonState? of(
  1. BuildContext context
)

Implementation

static _PopupWindowButtonState? of(BuildContext context) {
  final _PopupWindowScope? scope =
      context.dependOnInheritedWidgetOfExactType<_PopupWindowScope>();
  return scope?.state;
}