自定义格子内容;rect 为阴影收缩后矩形,active 表示中奖高亮。
rect
active
typedef GridCellPainter = void Function(Canvas canvas, Rect rect, bool active);