onPaint property

set onPaint (PaintCallback? value)

Implementation

set onPaint(PaintCallback? value) {
  if (_onPaint != value) {
    _onPaint = value;
    markNeedsPaint();
  }
}