OptionalannotationOptionalannotationDefault font family for new text annotations. Platform-specific:
"Georgia", "Courier") or undefined for system font (San Francisco)"Montserrat-Regular", "serif") or undefined for default sans-serif"Georgia, serif") or undefined for sans-serifOptionalannotationStroke width in points applied to new ink annotations.
OptionalannotationActive annotation tool. Defaults to 'none' (view-only).
OptionalannotationsSerialised AnnotationsData JSON string to load when the document opens.
OptionalbackgroundBackground colour shown behind the PDF pages.
OptionalonFired after annotations are created or edited. annotations is a serialised AnnotationsData JSON string.
OptionalonFired when the document fails to load.
OptionalonFired once the document has finished loading.
OptionalonFired when the visible page changes.
OptionalonOptional async callback for the text annotation tool. When provided, this is called instead of
the native platform dialog (UIAlertController / AlertDialog) when the user taps to place a text
annotation. When editing an existing text annotation, request.currentText is populated and
request.mode is 'edit'. Return the text string to create/update the annotation, or null
to cancel.
Optionalpage0-based page number to display. Can be used to restore scroll position on orientation change.
Absolute local file path of the PDF to display.
Optionalstyle
Colour applied to new annotations, as a CSS colour string (e.g.
'#FF0000').