Tabs class

Inheritance

Constructors

Tabs.new({List<TabItem>? children})

Properties

activeTab TabItem?
no setter
ancestors Iterable<TabsNode>
Returns the ancestors of this node. The first element is the parent of this node, the last element is the root of the tree (a TabsDocument).
no setterinherited
children List<TabItem>
no setterinherited
document TabsDocument?
Returns the root of the tree that this node belongs to. null if this node is not in a TabsDocument.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
length int
no setterinherited
parent TabsContainer<TabsNode>?
The parent of this node.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activate(TabItem? tab) → void
add(TabItem node) → void
override
addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
indexOf(TabItem node) int
inherited
insert(int index, TabItem node) → void
Insert node at index.
inherited
move(TabItem node, int index) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
remove(TabItem tab) bool
override
removeAll() → void
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
replace(TabItem oldNode, TabItem newNode) → void
override
swap(TabItem node1, TabItem node2) → void
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited