ZenScopeExtension extension

Extension methods for BuildContext to find a ZenScope.

on

Methods

findScope() ZenScope

Available on BuildContext, provided by the ZenScopeExtension extension

Finds the nearest ZenScope above this context.
mayFindScope() ZenScope?

Available on BuildContext, provided by the ZenScopeExtension extension

Finds the nearest ZenScope above this context, or returns null if none is found.