GridPrize constructor

const GridPrize({
  1. required int x,
  2. required int y,
  3. int col = 1,
  4. int row = 1,
  5. LuckyCellStyle? style,
  6. List<LuckyText> texts = const [],
  7. List<GridImage> images = const [],
  8. double? weight,
  9. bool disabled = false,
  10. GridCellPainter? painter,
})

创建格子;例如 GridPrize(x: 0, y: 0)。

Implementation

const GridPrize(
    {required super.x,
    required super.y,
    super.col,
    super.row,
    super.style,
    super.texts,
    super.images,
    this.weight,
    this.disabled = false,
    this.painter});