of method

EventBusWidget of (
  1. BuildContext context
)

Find the closeset EventBusWidget from ancester tree.

Implementation

static EventBusWidget of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<EventBusWidget>();