maybeOf static method

SignalScope? maybeOf(
  1. BuildContext context
)

Looks up the nearest SignalScope ancestor.

Implementation

static SignalScope? maybeOf(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<SignalScope>();
}