SegmentTab class

Selection option for SegmentedTabControl

Annotations

Constructors

SegmentTab({required String label, Color? color, Gradient? gradient, Color? selectedTextColor, Color? backgroundColor, Gradient? backgroundGradient, Color? textColor, Color? splashColor, Color? splashHighlightColor, int flex = 1})
const

Properties

backgroundColor Color?
SegmentedTabControl color when this option is selected.
final
backgroundGradient Gradient?
SegmentedTabControl background gradient when this option is selected.
final
color Color?
Indicator color when this option is selected.
final
flex int
Tab flex factor
final
gradient Gradient?
Indicator gradient when this option is selected.
final
hashCode int
The hash code for this object.
no setterinherited
label String
This text will be displayed on tab.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedTextColor Color?
Text color when this option is selected.
final
splashColor Color?
Overrides splashColor from SegmentedTabControl.
final
splashHighlightColor Color?
Overrides splashHighlightColor from SegmentedTabControl.
final
textColor Color?
Text color when this option is selected.
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