WTabBarConfig class

标签栏配置类

Constructors

WTabBarConfig()

Properties

dividerColor ← Color?
设置分割线颜色
no getter
dividerHeight ← double?
设置分割线高度
no getter
hashCode → int
The hash code for this object.
no setterinherited
indicator ← Decoration?
设置指示器
no getter
indicatorColor ← Color?
设置指示器颜色
no getter
indicatorSize ← TabBarIndicatorSize?
设置指示器大小
no getter
indicatorWeight ← double
设置指示器权重
no getter
isScrollable ← bool
设置是否可滚动
no getter
labelStyle ← TextStyle?
设置选中标签样式
no getter
padding ← EdgeInsetsGeometry?
设置内边距
no getter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tabAlignment ← TabAlignment?
设置标签对齐方式
no getter
unselectedLabelStyle ← TextStyle?
设置未选中标签样式
no getter

Methods

build({required List<Widget> tabs, TabController? controller, void onTap(int)?}) → WTabBar
构建标签栏
divider(double dividerHeight, Color dividerColor) → WTabBarConfig
设置分割线
indicatorWithHeightAndColor(double height, Color color) → WTabBarConfig
设置带高度和颜色的指示器
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