public override IDisposable getScope() { instance = this; if (this._binding == null) { this._binding = new WidgetsBinding(); } WidgetsBinding.instance = this._binding; return(new WindowDisposable(this)); }
public override IDisposable getScope() { WindowAdapter oldInstance = (WindowAdapter) _instance; _instance = this; if (this._binding == null) { this._binding = new WidgetsBinding(); } SchedulerBinding._instance = this._binding; return new WindowDisposable(this, oldInstance); }