maybeOf static method
Returns the closest EditingScope ancestor, or null if there is none. Doesn't register a dependency, so it may be called from State.initState.
Implementation
static EditingScopeState? maybeOf(BuildContext context) => context.getInheritedWidgetOfExactType<_EditingScopeScope>()?.state;