$applyPaint method

void $applyPaint(
  1. Canvas canvas
)

(Internal usage) Override this method to implement custom drawing using Flutter's API. You can access the canvas object from here. Make sure to also implement getBounds and hitTest for this display object to work properly.

Implementation

void $applyPaint(ui.Canvas canvas) {}