FixedTabStyle class

Convex shape is fixed center.

Inheritance

Constructors

FixedTabStyle.new({required List<TabItem> items, required Color activeColor, required Color color, required int convexIndex})
Create style builder.

Properties

activeColor Color
Color used when tab is active.
finalinherited
color Color
Color used for tab.
finalinherited
convexIndex int
Index of the centered convex shape.
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.
override
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