drawPaint method
- Paint paint
override
Fills the canvas with the given Paint.
To fill the canvas with a solid color and blend mode, consider drawColor instead.
Implementation
@override
void drawPaint(Paint paint) {
invocations.add(
RecordedInvocation(
_MethodCall(#drawPaint, <dynamic>[Paint.from(paint)]),
stack: StackTrace.current,
),
);
}