removeAllAnnotations method
Removes all annotations from the PDF document.
pageNumber
- optional – removes the annotation in the specified page
Implementation
void removeAllAnnotations({int pageNumber = 0}) {
_clearAnnotationPageNumber = pageNumber;
_notifyPropertyChangedListeners(property: 'removeAllAnnotations');
_clearAnnotationPageNumber = 0;
}