controller property

SignatureController? controller
final

Controls the value of the signature pad.

If null, this widget will create its own SignatureController.

If your controller has the "onDrawEnd" method, your method will be executed first and then the values will be saved in the form field _controller.onDrawEnd = () async { onDrawEnd?.call(); requestFocus(); final val = await _getControllerValue(); didChange(val); };

Implementation

final SignatureController? controller;