CPDFAnnotationModeContextMenu constructor

const CPDFAnnotationModeContextMenu({
  1. List<CPDFContextMenuItem<CPDFAnnotationTextSelectMenuKey>> textSelect = const [CPDFContextMenuItem(CPDFAnnotationTextSelectMenuKey.copy), CPDFContextMenuItem(CPDFAnnotationTextSelectMenuKey.highlight), CPDFContextMenuItem(CPDFAnnotationTextSelectMenuKey.underline), CPDFContextMenuItem(CPDFAnnotationTextSelectMenuKey.strikeout), CPDFContextMenuItem(CPDFAnnotationTextSelectMenuKey.squiggly)],
  2. List<CPDFContextMenuItem<CPDFAnnotationLongPressMenuKey>> longPress = const [CPDFContextMenuItem(CPDFAnnotationLongPressMenuKey.paste), CPDFContextMenuItem(CPDFAnnotationLongPressMenuKey.note), CPDFContextMenuItem(CPDFAnnotationLongPressMenuKey.textBox), CPDFContextMenuItem(CPDFAnnotationLongPressMenuKey.stamp), CPDFContextMenuItem(CPDFAnnotationLongPressMenuKey.image)],
  3. List<CPDFContextMenuItem<CPDFAnnotationMarkupMenuKey>> markup = const [CPDFContextMenuItem(CPDFAnnotationMarkupMenuKey.properties), CPDFContextMenuItem(CPDFAnnotationMarkupMenuKey.note), CPDFContextMenuItem(CPDFAnnotationMarkupMenuKey.reply), CPDFContextMenuItem(CPDFAnnotationMarkupMenuKey.viewReply), CPDFContextMenuItem(CPDFAnnotationMarkupMenuKey.delete)],
  4. List<CPDFContextMenuItem<CPDFAnnotationSoundMenuKey>> sound = const [CPDFContextMenuItem(CPDFAnnotationSoundMenuKey.reply), CPDFContextMenuItem(CPDFAnnotationSoundMenuKey.viewReply), CPDFContextMenuItem(CPDFAnnotationSoundMenuKey.play), CPDFContextMenuItem(CPDFAnnotationSoundMenuKey.record), CPDFContextMenuItem(CPDFAnnotationSoundMenuKey.delete)],
  5. List<CPDFContextMenuItem<CPDFAnnotationInkMenuKey>> ink = const [CPDFContextMenuItem(CPDFAnnotationInkMenuKey.properties), CPDFContextMenuItem(CPDFAnnotationInkMenuKey.note), CPDFContextMenuItem(CPDFAnnotationInkMenuKey.reply), CPDFContextMenuItem(CPDFAnnotationInkMenuKey.viewReply), CPDFContextMenuItem(CPDFAnnotationInkMenuKey.delete)],
  6. List<CPDFContextMenuItem<CPDFAnnotationShapeMenuKey>> shape = const [CPDFContextMenuItem(CPDFAnnotationShapeMenuKey.properties), CPDFContextMenuItem(CPDFAnnotationShapeMenuKey.note), CPDFContextMenuItem(CPDFAnnotationShapeMenuKey.reply), CPDFContextMenuItem(CPDFAnnotationShapeMenuKey.viewReply), CPDFContextMenuItem(CPDFAnnotationShapeMenuKey.delete)],
  7. List<CPDFContextMenuItem<CPDFAnnotationFreeTextMenuKey>> freeText = const [CPDFContextMenuItem(CPDFAnnotationFreeTextMenuKey.properties), CPDFContextMenuItem(CPDFAnnotationFreeTextMenuKey.edit), CPDFContextMenuItem(CPDFAnnotationFreeTextMenuKey.reply), CPDFContextMenuItem(CPDFAnnotationFreeTextMenuKey.viewReply), CPDFContextMenuItem(CPDFAnnotationFreeTextMenuKey.delete)],
  8. List<CPDFContextMenuItem<CPDFAnnotationSignMenuKey>> signStamp = const [CPDFContextMenuItem(CPDFAnnotationSignMenuKey.signHere), CPDFContextMenuItem(CPDFAnnotationSignMenuKey.delete), CPDFContextMenuItem(CPDFAnnotationSignMenuKey.rotate)],
  9. List<CPDFContextMenuItem<CPDFAnnotationStampMenuKey>> stamp = const [CPDFContextMenuItem(CPDFAnnotationStampMenuKey.note), CPDFContextMenuItem(CPDFAnnotationStampMenuKey.reply), CPDFContextMenuItem(CPDFAnnotationStampMenuKey.viewReply), CPDFContextMenuItem(CPDFAnnotationStampMenuKey.delete)],
  10. List<CPDFContextMenuItem<CPDFAnnotationLinkMenuKey>> link = const [CPDFContextMenuItem(CPDFAnnotationLinkMenuKey.edit), CPDFContextMenuItem(CPDFAnnotationLinkMenuKey.delete)],
})

Implementation

const CPDFAnnotationModeContextMenu({
  this.textSelect = const [
    CPDFContextMenuItem(CPDFAnnotationTextSelectMenuKey.copy),
    CPDFContextMenuItem(CPDFAnnotationTextSelectMenuKey.highlight),
    CPDFContextMenuItem(CPDFAnnotationTextSelectMenuKey.underline),
    CPDFContextMenuItem(CPDFAnnotationTextSelectMenuKey.strikeout),
    CPDFContextMenuItem(CPDFAnnotationTextSelectMenuKey.squiggly),
  ],
  this.longPress = const [
    CPDFContextMenuItem(CPDFAnnotationLongPressMenuKey.paste),
    CPDFContextMenuItem(CPDFAnnotationLongPressMenuKey.note),
    CPDFContextMenuItem(CPDFAnnotationLongPressMenuKey.textBox),
    CPDFContextMenuItem(CPDFAnnotationLongPressMenuKey.stamp),
    CPDFContextMenuItem(CPDFAnnotationLongPressMenuKey.image),
  ],
  this.markup = const [
    CPDFContextMenuItem(CPDFAnnotationMarkupMenuKey.properties),
    CPDFContextMenuItem(CPDFAnnotationMarkupMenuKey.note),
    CPDFContextMenuItem(CPDFAnnotationMarkupMenuKey.reply),
    CPDFContextMenuItem(CPDFAnnotationMarkupMenuKey.viewReply),
    CPDFContextMenuItem(CPDFAnnotationMarkupMenuKey.delete),
  ],
  this.sound = const [
    CPDFContextMenuItem(CPDFAnnotationSoundMenuKey.reply),
    CPDFContextMenuItem(CPDFAnnotationSoundMenuKey.viewReply),
    CPDFContextMenuItem(CPDFAnnotationSoundMenuKey.play),
    CPDFContextMenuItem(CPDFAnnotationSoundMenuKey.record),
    CPDFContextMenuItem(CPDFAnnotationSoundMenuKey.delete),
  ],
  this.ink = const [
    CPDFContextMenuItem(CPDFAnnotationInkMenuKey.properties),
    CPDFContextMenuItem(CPDFAnnotationInkMenuKey.note),
    CPDFContextMenuItem(CPDFAnnotationInkMenuKey.reply),
    CPDFContextMenuItem(CPDFAnnotationInkMenuKey.viewReply),
    CPDFContextMenuItem(CPDFAnnotationInkMenuKey.delete),
  ],
  this.shape = const [
    CPDFContextMenuItem(CPDFAnnotationShapeMenuKey.properties),
    CPDFContextMenuItem(CPDFAnnotationShapeMenuKey.note),
    CPDFContextMenuItem(CPDFAnnotationShapeMenuKey.reply),
    CPDFContextMenuItem(CPDFAnnotationShapeMenuKey.viewReply),
    CPDFContextMenuItem(CPDFAnnotationShapeMenuKey.delete),
  ],
  this.freeText = const [
    CPDFContextMenuItem(CPDFAnnotationFreeTextMenuKey.properties),
    CPDFContextMenuItem(CPDFAnnotationFreeTextMenuKey.edit),
    CPDFContextMenuItem(CPDFAnnotationFreeTextMenuKey.reply),
    CPDFContextMenuItem(CPDFAnnotationFreeTextMenuKey.viewReply),
    CPDFContextMenuItem(CPDFAnnotationFreeTextMenuKey.delete),
  ],
  this.signStamp = const [
    CPDFContextMenuItem(CPDFAnnotationSignMenuKey.signHere),
    CPDFContextMenuItem(CPDFAnnotationSignMenuKey.delete),
    CPDFContextMenuItem(CPDFAnnotationSignMenuKey.rotate),
  ],
  this.stamp = const [
    CPDFContextMenuItem(CPDFAnnotationStampMenuKey.note),
    CPDFContextMenuItem(CPDFAnnotationStampMenuKey.reply),
    CPDFContextMenuItem(CPDFAnnotationStampMenuKey.viewReply),
    CPDFContextMenuItem(CPDFAnnotationStampMenuKey.delete),
  ],
  this.link = const [
    CPDFContextMenuItem(CPDFAnnotationLinkMenuKey.edit),
    CPDFContextMenuItem(CPDFAnnotationLinkMenuKey.delete),
  ],
});