TitledTabStyle class

Tab icon, text animated with pop transition.

Inheritance

Constructors

TitledTabStyle.new({required List<TabItem> items, required Color activeColor, required Color color, required Curve curve, required Color backgroundColor})
Create style builder.

Properties

activeColor Color
Color used when tab is active.
finalinherited
backgroundColor Color
Color used as background of appbar and circle icon.
final
color Color
Color used for tab.
finalinherited
curve Curve
Curve for tab transition.
final
hashCode int
The hash code for this object.
no setterinherited
items List<TabItem>
List of TabItem stands for tabs.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context, int index, bool active) Widget
Called when the tab item is build.
override
fixed() bool
Whether the convex shape is fixed center or positioned according to selection.
inherited
hasNoText(TabItem item) bool
Return true if title text exists
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ofStyle(BuildContext context) StyleHook
Get style config
inherited
toString() String
A string representation of this object.
inherited

Operators

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