DiagramEventsInterface constructor

DiagramEventsInterface({
  1. DiagramEventHandler? animationStarting,
  2. DiagramEventHandler? animationFinished,
  3. DiagramEventHandler? backgroundSingleClicked,
  4. DiagramEventHandler? backgroundDoubleClicked,
  5. DiagramEventHandler? backgroundContextClicked,
  6. DiagramEventHandler? changingSelection,
  7. DiagramEventHandler? changedSelection,
  8. DiagramEventHandler? clipboardChanged,
  9. DiagramEventHandler? clipboardPasted,
  10. DiagramEventHandler? documentBoundsChanged,
  11. DiagramEventHandler? externalObjectsDropped,
  12. DiagramEventHandler? gainedFocus,
  13. DiagramEventHandler? initialLayoutCompleted,
  14. DiagramEventHandler? layoutCompleted,
  15. DiagramEventHandler? linkDrawn,
  16. DiagramEventHandler? linkRelinked,
  17. DiagramEventHandler? linkReshaped,
  18. DiagramEventHandler? lostFocus,
  19. DiagramEventHandler? modified,
  20. DiagramEventHandler? objectSingleClicked,
  21. DiagramEventHandler? objectDoubleClicked,
  22. DiagramEventHandler? objectContextClicked,
  23. DiagramEventHandler? partCreated,
  24. DiagramEventHandler? partResized,
  25. DiagramEventHandler? partRotated,
  26. DiagramEventHandler? selectionMoved,
  27. DiagramEventHandler? selectionCopied,
  28. DiagramEventHandler? selectionDeleted,
  29. DiagramEventHandler? selectionDeleting,
  30. DiagramEventHandler? selectionGrouped,
  31. DiagramEventHandler? selectionUngrouped,
  32. DiagramEventHandler? subGraphCollapsed,
  33. DiagramEventHandler? subGraphExpanded,
  34. DiagramEventHandler? textEdited,
  35. DiagramEventHandler? treeCollapsed,
  36. DiagramEventHandler? treeExpanded,
  37. DiagramEventHandler? viewportBoundsChanged,
})

Implementation

factory DiagramEventsInterface({
  _i3.DiagramEventHandler? animationStarting,
  _i3.DiagramEventHandler? animationFinished,
  _i3.DiagramEventHandler? backgroundSingleClicked,
  _i3.DiagramEventHandler? backgroundDoubleClicked,
  _i3.DiagramEventHandler? backgroundContextClicked,
  _i3.DiagramEventHandler? changingSelection,
  _i3.DiagramEventHandler? changedSelection,
  _i3.DiagramEventHandler? clipboardChanged,
  _i3.DiagramEventHandler? clipboardPasted,
  _i3.DiagramEventHandler? documentBoundsChanged,
  _i3.DiagramEventHandler? externalObjectsDropped,
  _i3.DiagramEventHandler? gainedFocus,
  _i3.DiagramEventHandler? initialLayoutCompleted,
  _i3.DiagramEventHandler? layoutCompleted,
  _i3.DiagramEventHandler? linkDrawn,
  _i3.DiagramEventHandler? linkRelinked,
  _i3.DiagramEventHandler? linkReshaped,
  _i3.DiagramEventHandler? lostFocus,
  _i3.DiagramEventHandler? modified,
  _i3.DiagramEventHandler? objectSingleClicked,
  _i3.DiagramEventHandler? objectDoubleClicked,
  _i3.DiagramEventHandler? objectContextClicked,
  _i3.DiagramEventHandler? partCreated,
  _i3.DiagramEventHandler? partResized,
  _i3.DiagramEventHandler? partRotated,
  _i3.DiagramEventHandler? selectionMoved,
  _i3.DiagramEventHandler? selectionCopied,
  _i3.DiagramEventHandler? selectionDeleted,
  _i3.DiagramEventHandler? selectionDeleting,
  _i3.DiagramEventHandler? selectionGrouped,
  _i3.DiagramEventHandler? selectionUngrouped,
  _i3.DiagramEventHandler? subGraphCollapsed,
  _i3.DiagramEventHandler? subGraphExpanded,
  _i3.DiagramEventHandler? textEdited,
  _i3.DiagramEventHandler? treeCollapsed,
  _i3.DiagramEventHandler? treeExpanded,
  _i3.DiagramEventHandler? viewportBoundsChanged,
}) =>
    DiagramEventsInterface._(
      animationStarting: animationStarting == null
          ? null
          : _i4.allowInterop(animationStarting),
      animationFinished: animationFinished == null
          ? null
          : _i4.allowInterop(animationFinished),
      backgroundSingleClicked: backgroundSingleClicked == null
          ? null
          : _i4.allowInterop(backgroundSingleClicked),
      backgroundDoubleClicked: backgroundDoubleClicked == null
          ? null
          : _i4.allowInterop(backgroundDoubleClicked),
      backgroundContextClicked: backgroundContextClicked == null
          ? null
          : _i4.allowInterop(backgroundContextClicked),
      changingSelection: changingSelection == null
          ? null
          : _i4.allowInterop(changingSelection),
      changedSelection: changedSelection == null
          ? null
          : _i4.allowInterop(changedSelection),
      clipboardChanged: clipboardChanged == null
          ? null
          : _i4.allowInterop(clipboardChanged),
      clipboardPasted:
          clipboardPasted == null ? null : _i4.allowInterop(clipboardPasted),
      documentBoundsChanged: documentBoundsChanged == null
          ? null
          : _i4.allowInterop(documentBoundsChanged),
      externalObjectsDropped: externalObjectsDropped == null
          ? null
          : _i4.allowInterop(externalObjectsDropped),
      gainedFocus: gainedFocus == null ? null : _i4.allowInterop(gainedFocus),
      initialLayoutCompleted: initialLayoutCompleted == null
          ? null
          : _i4.allowInterop(initialLayoutCompleted),
      layoutCompleted:
          layoutCompleted == null ? null : _i4.allowInterop(layoutCompleted),
      linkDrawn: linkDrawn == null ? null : _i4.allowInterop(linkDrawn),
      linkRelinked:
          linkRelinked == null ? null : _i4.allowInterop(linkRelinked),
      linkReshaped:
          linkReshaped == null ? null : _i4.allowInterop(linkReshaped),
      lostFocus: lostFocus == null ? null : _i4.allowInterop(lostFocus),
      modified: modified == null ? null : _i4.allowInterop(modified),
      objectSingleClicked: objectSingleClicked == null
          ? null
          : _i4.allowInterop(objectSingleClicked),
      objectDoubleClicked: objectDoubleClicked == null
          ? null
          : _i4.allowInterop(objectDoubleClicked),
      objectContextClicked: objectContextClicked == null
          ? null
          : _i4.allowInterop(objectContextClicked),
      partCreated: partCreated == null ? null : _i4.allowInterop(partCreated),
      partResized: partResized == null ? null : _i4.allowInterop(partResized),
      partRotated: partRotated == null ? null : _i4.allowInterop(partRotated),
      selectionMoved:
          selectionMoved == null ? null : _i4.allowInterop(selectionMoved),
      selectionCopied:
          selectionCopied == null ? null : _i4.allowInterop(selectionCopied),
      selectionDeleted: selectionDeleted == null
          ? null
          : _i4.allowInterop(selectionDeleted),
      selectionDeleting: selectionDeleting == null
          ? null
          : _i4.allowInterop(selectionDeleting),
      selectionGrouped: selectionGrouped == null
          ? null
          : _i4.allowInterop(selectionGrouped),
      selectionUngrouped: selectionUngrouped == null
          ? null
          : _i4.allowInterop(selectionUngrouped),
      subGraphCollapsed: subGraphCollapsed == null
          ? null
          : _i4.allowInterop(subGraphCollapsed),
      subGraphExpanded: subGraphExpanded == null
          ? null
          : _i4.allowInterop(subGraphExpanded),
      textEdited: textEdited == null ? null : _i4.allowInterop(textEdited),
      treeCollapsed:
          treeCollapsed == null ? null : _i4.allowInterop(treeCollapsed),
      treeExpanded:
          treeExpanded == null ? null : _i4.allowInterop(treeExpanded),
      viewportBoundsChanged: viewportBoundsChanged == null
          ? null
          : _i4.allowInterop(viewportBoundsChanged),
    );