GridCell constructor

const GridCell({
  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 [],
})

创建格子;列表由调用方保持不可变。

Implementation

const GridCell(
    {required this.x,
    required this.y,
    this.col = 1,
    this.row = 1,
    this.style,
    this.texts = const [],
    this.images = const []});