TabSwitcherController class
Main controller of the tab switcher. Opens new tabs, closes tabs, switches tabs programmatically. Provides streams for common events.
Constructors
Properties
- currentTab → TabSwitcherTab?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onCurrentTabChanged
→ Stream<
TabSwitcherTab?> -
no setter
-
onNewTab
→ Stream<
TabSwitcherTab> -
no setter
-
onSwitchModeChanged
→ Stream<
bool> -
no setter
-
onTabClosed
→ Stream<
TabSwitcherTab> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- switcherActive ↔ bool
-
getter/setter pair
- tabCount → int
-
no setter
-
tabs
→ UnmodifiableListView<
TabSwitcherTab> -
no setter
Methods
-
closeTab(
TabSwitcherTab tab) → void -
getTab<
T> () → T? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pushTab(
TabSwitcherTab tab, {int index = 0, bool foreground = true}) → void -
switchToTab(
int index) → void -
toggleTabSwitcher(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited