drawPaint method Null safety
- Paint paint
Fills the canvas with the given Paint.
To fill the canvas with a solid color and blend mode, consider drawColor instead.
Implementation
void drawPaint(Paint paint) {
assert(paint != null);
_drawPaint(paint._objects, paint._data);
}