Paints the given Color onto the canvas, applying the given BlendMode, with the given color being the source and the background being the destination.
Source
void drawColor(Color color, BlendMode blendMode) { assert(color != null); assert(blendMode != null); _drawColor(color.value, blendMode.index); }