setCurrentScope static method

void setCurrentScope(
  1. ZenScope scope
)

Set current scope (used by routing/navigation)

This is maintained for backward compatibility. In the new architecture, scopes are managed via the widget tree.

Implementation

static void setCurrentScope(ZenScope scope) {
  _currentScope = scope;
  ZenLogger.logDebug('Current scope: ${scope.name}');
}