CPDFOnAnnotationCreationPreparedCallback typedef
CPDFOnAnnotationCreationPreparedCallback =
void Function(CPDFAnnotationType type, CPDFAnnotation? annotation)
Called when annotation creation is prepared on the native side.
type: The annotation type to be created.annotation: A pre-filled annotation payload, if available.
Implementation
typedef CPDFOnAnnotationCreationPreparedCallback = void Function(
CPDFAnnotationType type,
CPDFAnnotation? annotation,
);