CapsuleCanvasRenderer class final
扭蛋机 Canvas 后端;持久表面负责缓存原生资源。
- Inheritance
-
- Object
- LuckyRenderer<
CapsuleConfig, CapsuleLayout, CapsuleFrame, LuckyResult< CapsulePrize> > - CapsuleCanvasRenderer
Constructors
- CapsuleCanvasRenderer()
-
创建默认渲染器。
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< CapsuleConfig, CapsuleLayout, CapsuleFrame> 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