TabObservation class

A live subscription to a TabController's selection.

The SDK never owns the controller, so it never disposes it — but it does own the listener it added, which dispose removes. Call dispose from the State.dispose that owns the controller.

Properties

group String
The group id these tabs report under.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Removes the listener and retires the tab group.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateNames(List<String> names) → void
Replaces the labels reported for each index.

Operators

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