TabChangeEvent class

The event fired when tab is about to switch or has switched to a new one.

oldIndex, newIndex refer to the tab index. oldSubIndex, newSubIndex refer to the index of the selected item from the de-emphasized tab dropdown. For normal tabs, this is noSelectionIndex, i.e. -1.

Constructors

TabChangeEvent(int oldIndex, int newIndex, {int oldSubIndex = noSelectionIndex, int newSubIndex = noSelectionIndex})

Properties

defaultPrevented bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDeEmphasizedTabChange bool
Returns whether the event is to or from a de-emphasized tab.
no setter
newIndex int
final
newSubIndex int
final
oldIndex int
final
oldSubIndex int
final
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
preventDefault() → void
toString() String
A string representation of this object.
override

Operators

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