Paints one of a Palette's entries to the canvas.
typedef Painter = void Function(Canvas canvas, Paint paint);