SlotCanvasRenderer class final

默认 Canvas 后端,缓存始终按单格录制,不受奖品长条纹理上限影响。

Inheritance

Constructors

SlotCanvasRenderer()
创建无状态后端。
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildSurface(BuildContext context, LuckySurfaceData<SlotConfig, SlotLayout, SlotFrame> data) → Widget
创建拥有缓存的表面,帧变化只触发重绘。
override
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