奖品卡自定义绘制;bounds 为卡片区域,不得保留画布。
bounds
typedef CapsulePrizePainter = void Function(Canvas canvas, Rect bounds);