onSignaturePlacementRequested method

Future<SignaturePlacementResponse> onSignaturePlacementRequested(
  1. SignaturePlacementProposal proposal
)

Called once a signature has been created or picked, before it is added to the document.

Return SignaturePlacementResponse.proceed to add it at the proposed position or elsewhere, or SignaturePlacementResponse.cancel to add nothing, for example when your app inserts the signature itself.

Implementation

Future<SignaturePlacementResponse> onSignaturePlacementRequested(
        SignaturePlacementProposal proposal) async =>
    const SignaturePlacementResponse.proceed();