WheelBlock class final
从外到内排列的圆环配置。
- Annotations
Constructors
-
WheelBlock({double padding = 0, LuckyFill? background, List<
WheelBlockImage> images = const []}) -
创建圆环;
padding为向内收缩的逻辑像素数。const
Properties
- background → LuckyFill?
-
圆环背景,null 表示无背景。
final
- hashCode → int
-
与值相等性一致的哈希。
no setteroverride
-
images
→ List<
WheelBlockImage> -
圆环图片。
final
- padding → double
-
内部奖品区向内收缩的距离。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{double? padding, LuckyFill? background, List< WheelBlockImage> ? images}) → WheelBlock - 返回替换非 null 参数的副本。
-
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 -
按配置值比较。
override