DmTab class

A single tab entry used by DmTabBar.

Constructors

DmTab({required String label, Widget? icon})
Creates a tab with a label and optional icon.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → Widget?
Optional icon displayed alongside the label.
final
label → String
Text label for this tab.
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