TabListTheme class
Theme configuration for TabList appearance and behavior.
TabListTheme defines the visual styling for tab list components including border colors, indicator styling, and dimensional properties. All properties are optional and fall back to theme defaults when not specified.
Example:
ComponentTheme<TabListTheme>(
data: TabListTheme(
borderColor: Colors.grey,
borderWidth: 2.0,
indicatorColor: Colors.blue,
indicatorHeight: 3.0,
),
child: TabList(...),
)
- Inheritance
-
- Object
- ComponentThemeData
- TabListTheme
Constructors
- TabListTheme({Color? borderColor, double? borderWidth, Color? indicatorColor, double? indicatorHeight})
-
Creates a TabListTheme.
const
Properties
- borderColor → Color?
-
Color of the bottom border line separating tabs from content.
final
- borderWidth → double?
-
Width of the bottom border line in logical pixels.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- indicatorColor → Color?
-
Color of the active tab indicator line.
final
- indicatorHeight → double?
-
Height of the active tab indicator line in logical pixels.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ValueGetter< Color?> ? borderColor, ValueGetter<double?> ? borderWidth, ValueGetter<Color?> ? indicatorColor, ValueGetter<double?> ? indicatorHeight}) → TabListTheme - Creates a copy with specified fields replaced.
-
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.
override