LottoGame class final

大乐透玩法策略;只依赖 core 和本玩法。

Inheritance

Constructors

LottoGame()
创建无状态玩法策略。
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
itemGeometry → LuckyItemGeometry<LottoLayout, LottoFrame>?
可选条目几何;未提供时不支持条目叠加。
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wantsPanGestures → bool
是否启用拖动手势。
no setterinherited

Methods

collectImages(LottoConfig config, LottoLayout layout) → List<LuckyImageRequest>
本玩法纯矢量绘制,不请求外部图片。
override
computeLayout(LottoConfig config, LuckyLayoutInput input) → LottoLayout
根据配置和环境计算布局。
override
createController() → LuckyController<LottoConfig, LottoLayout, LottoFrame, LottoResult>
创建由宿主拥有的默认控制器。
override
createDefaultRenderer() → LuckyRenderer<LottoConfig, LottoLayout, LottoFrame, LottoResult>
创建 Canvas 后端。
override
handlePan(LuckyController<LottoConfig, LottoLayout, LottoFrame, LottoResult> controller, LottoLayout layout, LuckyPanEvent event) → void
接收拖动事件;默认无操作。
inherited
hitTestAll(LottoConfig config, LottoLayout layout, LottoFrame frame, Offset position) → List<LuckyHit>
命中开始按钮返回按钮零,其他位置返回空。
override
isStructuralChange(LottoConfig oldConfig, LottoConfig newConfig) → bool
池范围或抽取数量改变时延后减速期间的配置更新。
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveConfig(BuildContext context, LottoConfig config) → LottoConfig
系统要求减弱动效(或显式 always)时去掉物理参数,回退参数化轨迹。
override
semanticsLabel(LottoConfig config) → String
默认无障碍名称。
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited