Tab class

Stores the state of a tab, including its page stack

Inheritance

Constructors

Tab({required TabPanel panel, List<Widget> pages = const [], bool locked = false})

Properties

context → ReactiveContext
Override this method to use a custom context.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pairinherited
locked bool
When locked, the tab cannot be closed by conventional means
getter/setter pairinherited
pages ↔ ObservableList<Widget>
The pages if this tab
getter/setter pairinherited
panel TabPanel
The panel this tab belongs to
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop() → void
Pop the last page from the stack
inherited
push(Widget page, {bool forceNewTab = false}) → void
Push a new page to the stack
inherited
toggleLock() → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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