prepareNextSignature method

Future<void> prepareNextSignature(
  1. String signaturePath
)

Pre-configure the next signature annotation to be inserted when the user taps the page. only use in signature creation mode. CPDFAnnotationType.signature Example:

// first enter signature creation mode
await controller.setAnnotationMode(CPDFAnnotationType.signature);

// then prepare the signature image path
await controller.prepareNextSignature('/path/to/signature.png');

// now, when the user taps the page, the signature will be inserted using the specified image

Implementation

Future<void> prepareNextSignature(String signaturePath) async {
  return await _channel.invokeMethod('prepare_next_signature', signaturePath);
}