draw property

void Function(Canvas canvas, double x, double y) draw
final

Drawing callback. (x, y) are the absolute canvas coordinates of the element's top-left corner

Implementation

final void Function(Canvas canvas, double x, double y) draw;