WheelCanvasRenderer class final

默认转盘 Canvas 后端;例如传给 LuckyWheel.renderer。

Inheritance

Constructors

WheelCanvasRenderer()
创建无状态渲染策略,缓存由其表面持有。
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<WheelConfig, WheelLayout, WheelFrame> data) → Widget
构建持久缓存的 CustomPaint 表面。
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