GridCellPainter typedef

GridCellPainter = void Function(Canvas canvas, Rect rect, bool active)

自定义格子内容;rect 为阴影收缩后矩形,active 表示中奖高亮。

Implementation

typedef GridCellPainter = void Function(Canvas canvas, Rect rect, bool active);