drawOnCanvas abstract method
void
drawOnCanvas(
- Canvas canvas,
- Paint? paint,
- bool internalPaintOverridingEnabled,
- BeforeRenderHookCallback? beforeRenderCallback,
The method accepts a link to the Canvas as parameters as well as an additional parameter of type Paint
Must be descendant classes and perform the function of drawing the corresponding element on the canvas
Implementation
void drawOnCanvas(
Canvas canvas,
Paint? paint,
bool internalPaintOverridingEnabled,
BeforeRenderHookCallback? beforeRenderCallback,
);