zenScope property

ZenScope? get zenScope

Gets the current ZenScope from the widget tree, or returns null if none is found.

Implementation

ZenScope? get zenScope {
  final provider = dependOnInheritedWidgetOfExactType<ZenScopeProvider>();
  return provider?.scope;
}