PdfSelectionMenuItems typedef

PdfSelectionMenuItems = List<ContextMenuButtonItem> Function(BuildContext context, PdfController controller)

Extra items for the menu that opens over selected text, after Copy and Select all: highlight, bookmark, look up. controller has the selection (PdfController.selectedText).

Implementation

typedef PdfSelectionMenuItems = List<ContextMenuButtonItem> Function(BuildContext context, PdfController controller);