DesignTab class

A tab: its name, and what a look paints it with.

Annotations

Constructors

DesignTab({required String label, IconData? icon, bool enabled = true, Object? data})
A tab named label.
const

Properties

data → Object?
Anything else the look needs to paint it (a badge count).
final
enabled → bool
Whether it can be chosen; a disabled tab is skipped by the arrows.
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
A glyph a look may paint beside or instead of label.
final
label → String
Its name, and what a screen reader calls it.
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
toString() → String
A string representation of this object.
inherited

Operators

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