NumberWheelStyle class final

数字转盘绘制样式。

Annotations

Constructors

NumberWheelStyle({LuckyFill background = const LuckyFill.color(Color(0xFFB58A45)), LuckyFill trackFill = const LuckyFill.color(Color(0xFF49392D)), LuckyFill hubFill = const LuckyFill.color(Color(0xFF8D6E63)), LuckyFill ballFill = const LuckyFill.color(Color(0xFFFFF8E1)), Color textColor = const Color(0xFFFFFFFF), double fontSize = _defaultSpeed, String? fontFamily})
创建配置;列表在使用期间不可修改。
const

Properties

background → LuckyFill
盘面填充。
final
ballFill → LuckyFill
小球填充。
final
fontFamily → String?
标签字体;空时使用平台默认字体。
final
fontSize → double
标签字号;参与标签抽稀。
final
hashCode → int
与值相等性一致的哈希值。
no setteroverride
hubFill → LuckyFill
中心毂填充。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textColor → Color
标签与刻度颜色。
final
trackFill → LuckyFill
外轨填充。
final

Methods

copyWith({LuckyFill? background, LuckyFill? trackFill, LuckyFill? hubFill, LuckyFill? ballFill, Color? textColor, double? fontSize, String? fontFamily}) → NumberWheelStyle
返回只替换非空参数的副本。
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
按全部字段比较值。
override