SlotCellContent class final
一个奖品的局部内容,供录制阶段使用。
- Annotations
Constructors
-
SlotCellContent({required Rect rect, required LuckyFill? background, required double borderRadius, required List<
LuckyTextLine> lines, required List<LuckyImagePlacement> images}) -
保存局部盒子、背景、圆角、文字和图片规则。
const
Properties
- background → LuckyFill?
-
解析后的背景。
final
- borderRadius → double
-
解析后的圆角,显式零有效。
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
images
→ List<
LuckyImagePlacement> -
图片摆放规则。
final
-
lines
→ List<
LuckyTextLine> -
已排版文字。
final
- rect → Rect
-
格子局部矩形。
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