onDraw property

SignatureDrawCallback? get onDraw

Gets the onDraw callback.

Called when the user signing on the RenderSignaturePad.

Implementation

SignatureDrawCallback? get onDraw => _onDraw;
set onDraw (SignatureDrawCallback? value)

Sets the onDraw callback.

Called when the user signing on the RenderSignaturePad.

Implementation

set onDraw(SignatureDrawCallback? value) {
  if (_onDraw == value) {
    return;
  }
  _onDraw = value;
}