autoShowPicPicker property

bool autoShowPicPicker
final

In annotation mode, when tapping the bottom toolbar or calling controller.setAnnotationMode(CPDFAnnotationType.picture), whether to automatically show the picture picker dialog. Default: true. If set to false, the picture picker dialog will not be displayed. You can handle picture selection yourself via the CPDFReaderWidget(onAnnotationCreationPreparedCallback: ...) callback. For example, show a custom image picker, then call controller.prepareNextPicture(String imagePath) with the chosen image path; a subsequent tap will add the custom image to the PDF.

Implementation

final bool autoShowPicPicker;