onDraw property
Called when a stroke is updated on the SfSignaturePad.
This snippet shows how to set onDraw callback in SfSignaturePad.
SfSignaturePad(
  onDraw: (offset, time) {
    Offset offsetValue = offset;
    DateTime dateTime = time;
  },
 );
Implementation
final SignatureDrawCallback? onDraw;