SlotLayout constructor
const
SlotLayout({
- required Size size,
- SlotMode mode = SlotMode.vertical,
- required Rect prizeArea,
- required double cellWidth,
- required double cellHeight,
- required double widthAndSpacing,
- required double heightAndSpacing,
- required double cellAndSpacing,
- required double windowStart,
- required double windowLength,
- required List<
SlotReelLayout> reels, - required List<
SlotCellContent> cells, - required List<
SlotBlockLayout> blocks,
创建布局;通常调用 computeSlotLayout。
Implementation
const SlotLayout(
{required super.size,
this.mode = SlotMode.vertical,
required this.prizeArea,
required this.cellWidth,
required this.cellHeight,
required this.widthAndSpacing,
required this.heightAndSpacing,
required this.cellAndSpacing,
required this.windowStart,
required this.windowLength,
required this.reels,
required this.cells,
required this.blocks});