LottoLayout class final

摇奖机布局;只含低频计算的几何数据。

Inheritance
Annotations

Constructors

LottoLayout({required Size size, required List<LottoDrumLayout> drums, required Rect button, required double slotRadius})
创建布局;空尺寸应传空 drums 和 Rect.zero。
const

Properties

button → Rect
开始按钮命中区域。
final
drums → List<LottoDrumLayout>
各号码池容器。
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
是否没有可绘制内容。
no setteroverride
paintsWhenEmpty → bool
布局为空时是否仍要绘制装饰(如 blocks 外框);默认不绘制。
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → Size
布局盒子逻辑尺寸。
finalinherited
slotRadius → double
结果槽半径。
final

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