switcherActive property
bool
get
switcherActive
Implementation
bool get switcherActive => _switcherActive ?? (_switcherActive = _tabs.isEmpty);
set
switcherActive
(bool value)
Implementation
set switcherActive(bool value) {
if (value == false && tabCount == 0) return; // switcher cannot be exited when there are no tabs
if (_switcherActive != value) {
_switcherActive = value;
_switchModeSubject.add(value);
}
}