WheelButtonLayout class final

单个按钮的预计算内容。

Annotations

Constructors

WheelButtonLayout({required double radius, required LuckyFill? background, required bool pointer, required Path? pointerPath, required List<LuckyImagePlacement> images, required List<LuckyTextLine> texts})
创建按钮几何;无指针填充时 pointerPath 为 null。
const

Properties

background → LuckyFill?
背景。
final
hashCode → int
The hash code for this object.
no setterinherited
images → List<LuckyImagePlacement>
图片摆放规则。
final
pointer → bool
配置是否开启指针。
final
pointerPath → Path?
指针路径,无背景或未开启时为 null。
final
radius → double
按钮半径。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
texts → List<LuckyTextLine>
保留空行的文字布局。
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