SlotPrize constructor
const
SlotPrize({
- LuckyFill? background,
- double? borderRadius,
- List<
LuckyText> texts = const [], - List<
LuckyImage> images = const [], - double? weight,
- bool disabled = false,
- SlotCellPainter? painter,
创建奖品;可选样式为 null 时继承默认值,圆角零也生效。
Implementation
const SlotPrize(
{this.background,
this.borderRadius,
this.texts = const [],
this.images = const [],
this.weight,
this.disabled = false,
this.painter});