NumberWheelPocket class final

一个可选号码格。

Annotations

Constructors

NumberWheelPocket(int number, {String? label, LuckyFill? fill, double? weight, bool disabled = false})
创建配置;列表在使用期间不可修改。
const

Properties

disabled → bool
是否禁止随机选中。
final
fill → LuckyFill?
格子填充;空时使用交替配色。
final
hashCode → int
与值相等性一致的哈希值。
no setteroverride
label → String?
显示文字;空时使用号码。
final
number → int
结果号码。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
weight → double?
选奖权重;空值不参与随机选奖。
final

Methods

copyWith({int? number, String? label, LuckyFill? fill, double? weight, bool? disabled}) → NumberWheelPocket
返回只替换非空参数的副本。
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