CPDFGlobalContextMenu.screenshotOnly constructor

CPDFGlobalContextMenu.screenshotOnly(
  1. List<CPDFScreenShotMenuKey> keys
)

Implementation

factory CPDFGlobalContextMenu.screenshotOnly(
    List<CPDFScreenShotMenuKey> keys) {
  return CPDFGlobalContextMenu(
    screenshot: keys.map(CPDFContextMenuItem.of).toList(),
  );
}