newZoneWith static method

Zone newZoneWith(
  1. WindowController windowController
)

Returns a new Zone with the given windowController.

Example

See WindowController.newZone.

Implementation

static Zone newZoneWith(WindowController windowController) {
  _hasChangedInstance = true;
  return Zone.current
      .fork(zoneValues: {_zoneKey: _WindowControllerScope(windowController)});
}