Painter typedef

Painter = void Function(Canvas canvas, Paint paint)

Paints one of a Palette's entries to the canvas.

Implementation

typedef Painter = void Function(Canvas canvas, Paint paint);