DVTabWorkspaceController({ List<DVTab> tabs = const <DVTab>[], this.window, }) : _tabs = List<DVTab>.of(tabs) { if (_tabs.isNotEmpty) _activeIndex = 0; }