findScope method

  1. @Deprecated('Use zenScopeRequired instead')
ZenScope findScope()

Finds the nearest ZenScope above this context.

This method will look up the widget tree and return the ZenScope provided by the nearest ZenScopeWidget ancestor.

Throws an exception if no ZenScope is found.

Implementation

@Deprecated('Use zenScopeRequired instead')
ZenScope findScope() => zenScopeRequired;