SingleDigitData class
单个包装的字符/数字依赖配置数据源
Constructors
-
SingleDigitData({Size? size, bool useTextSize = false, List<
ValueColor> ? valueColors, bool prefixAndSuffixFollowValueColor = true, AnimatedSingleWidgetBuilder? builder}) - 单个包装的字符/数字依赖配置数据源
Properties
- builder ↔ AnimatedSingleWidgetBuilder?
-
自定义内容 builder
每一个数字,每一个字符。
整个
AnimatedDigitWidget
由value.length
个Single-Widget
组成, 所以singleBuilder
就不言而喻了。getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- prefixAndSuffixFollowValueColor ↔ bool
-
前缀和后缀跟随颜色变化,默认跟随
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ Size?
-
单个字符容器尺寸大小。
如果为 null,则以数字
0
为字体宽高标准计算得到。getter/setter pair - useTextSize ↔ bool
-
是否使用文字本身的 Size 做为包装 Size
getter/setter pair
-
valueColors
↔ List<
ValueColor> ? -
根据值变化颜色的集合
getter/setter pair
Methods
-
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