maybeOf static method

M3ESelectionScope? maybeOf(
  1. BuildContext context
)

The nearest scope, or null.

Implementation

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