CapsulePrizePainter typedef

CapsulePrizePainter = void Function(Canvas canvas, Rect bounds)

奖品卡自定义绘制;bounds 为卡片区域,不得保留画布。

Implementation

typedef CapsulePrizePainter = void Function(Canvas canvas, Rect bounds);