CapsuleConfig class
胶囊按钮配置
Constructors
Properties
- capsuleBgDarkColor ↔ int
-
胶囊背景颜色深色(安卓和iOS在SDK内部语义上是取反的,所以不一致)
getter/setter pair
- capsuleBgLightColor ↔ int
-
胶囊背景颜色浅色(安卓和iOS在SDK内部语义上是取反的,所以不一致)
getter/setter pair
- capsuleBorderDarkColor ↔ int
-
右上角胶囊视图的边框深色颜色
明亮模式
getter/setter pair
- capsuleBorderLightColor ↔ int
-
右上角胶囊视图的边框浅色颜色
暗黑模式
getter/setter pair
- capsuleBorderWidth ↔ double
-
右上角胶囊视图的边框宽度,默认值为0.5
getter/setter pair
- capsuleCornerRadius ↔ double
-
右上角胶囊视图的圆角半径,默认值为16
getter/setter pair
- capsuleDividerDarkColor ↔ int
-
胶囊分割线深色颜色
明亮模式
getter/setter pair
- capsuleDividerLightColor ↔ int
-
胶囊分割线浅色颜色
暗黑模式
getter/setter pair
- capsuleHeight ↔ double
-
上角胶囊视图的高度,默认值为32
getter/setter pair
- capsuleRightMargin ↔ double
-
右上角胶囊视图的右边距,默认值为7
getter/setter pair
- capsuleWidth ↔ double
-
上角胶囊视图的宽度,默认值为88
getter/setter pair
- closeBtnLeftMargin ↔ double
-
胶囊里的关闭按钮的左边距。android默认值为6;ios默认值为12
getter/setter pair
- closeBtnWidth ↔ double
-
胶囊里的关闭按钮的宽度,高度与宽度相等。android默认值为32;ios默认值为20
getter/setter pair
- closeDarkImage ↔ int?
-
胶囊里的深色更多按钮的图片对象,如果不传,会使用默认图标
getter/setter pair
- closeLightImage ↔ int?
-
胶囊里的浅色更多按钮的图片对象,如果不传,会使用默认图标
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- moreBtnLeftMargin ↔ double
-
胶囊里的更多按钮的左边距。android默认值为6;ios默认值为12
getter/setter pair
- moreBtnWidth ↔ double
-
胶囊里的更多按钮的宽度,高度与宽度相等。android默认值为32;ios默认值为20
getter/setter pair
- moreDarkImage ↔ int?
-
胶囊里的深色更多按钮的图片对象,如果不传,会使用默认图标
getter/setter pair
- moreLightImage ↔ int?
-
胶囊里的浅色更多按钮的图片对象,如果不传,会使用默认图标
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited