SlotReel class final
列配置;例如 const SlotReel(order: [2, 0, 1], direction: -1)。
- Annotations
Constructors
Properties
- direction → int?
-
滚动方向,调用方应使用 1 或 −1。
final
- hashCode → int
-
与字段值相等性一致的哈希值。
no setteroverride
-
order
→ List<
int> ? -
条带位置对应的奖品下标;越界值保留为空格。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed → double?
-
每参考帧像素速度;运行取绝对值,停止求解保留符号。
final
- stopDelay → Duration
-
相对整体减速开始的延迟;零表示同时停止。
final
Methods
-
copyWith(
{List< int> ? order, double? speed, int? direction, Duration? stopDelay}) → SlotReel -
返回仅替换非 null 参数的副本;例如
value.copyWith()保留全部配置。 -
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