SectionTab class
One segment in a SectionTabs row.
Constructors
- SectionTab({required String id, required String label, String? semanticLabel})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable identity passed back to
onChanged. Use the route fragment or state-machine value, not the visible label, so renames are safe.final - label → String
-
Visible label.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticLabel → String?
-
Optional accessibility label override. Defaults to
label. Pass when the visible label is a glyph or abbreviation that screen readers shouldn't announce verbatim ("3M" → "Last 3 months").final
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