WheelBlockLayout class final
单个圆环的预计算内容。
- Annotations
Constructors
-
WheelBlockLayout({required double radius, required LuckyFill? background, required List<
LuckyImagePlacement> images, required List<bool> rotate}) -
创建圆环,图片与旋转列表一一对应。
const
Properties
- background → LuckyFill?
-
背景。
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
images
→ List<
LuckyImagePlacement> -
图片摆放规则。
final
- radius → double
-
当前圆环半径。
final
-
rotate
→ List<
bool> -
各图片是否随盘旋转。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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