GraphiteCanvas constructor

const GraphiteCanvas({
  1. Key? key,
  2. required Size defaultCellSize,
  3. required Matrix matrix,
  4. required EdgeInsets cellPadding,
  5. required double contactEdgesDistance,
  6. required MatrixOrientation orientation,
  7. required double maxScale,
  8. required double minScale,
  9. required Clip clipBehavior,
  10. OverlayBuilder? overlayBuilder,
  11. EdgeLabels? edgeLabels,
  12. GestureEdgeTapDownCallback? onEdgeTapDown,
  13. GestureEdgeTapUpCallback? onEdgeTapUp,
  14. GestureEdgeLongPressStartCallback? onEdgeLongPressStart,
  15. GestureEdgeLongPressEndCallback? onEdgeLongPressEnd,
  16. GestureEdgeLongPressMoveUpdateCallback? onEdgeLongPressMoveUpdate,
  17. GestureEdgeForcePressStartCallback? onEdgeForcePressStart,
  18. GestureEdgeForcePressEndCallback? onEdgeForcePressEnd,
  19. GestureEdgeForcePressPeakCallback? onEdgeForcePressPeak,
  20. GestureEdgeForcePressUpdateCallback? onEdgeForcePressUpdate,
  21. GestureEdgeTapDownCallback? onEdgeSecondaryTapDown,
  22. GestureEdgeTapUpCallback? onEdgeSecondaryTapUp,
  23. GestureBackgroundTapCallback? onCanvasTap,
  24. EdgeStyleBuilder? styleBuilder,
  25. EdgePathBuilder? pathBuilder,
  26. GestureNodeTapDownCallback? onNodeTapDown,
  27. GestureNodeTapUpCallback? onNodeTapUp,
  28. GestureNodeLongPressStartCallback? onNodeLongPressStart,
  29. GestureNodeLongPressEndCallback? onNodeLongPressEnd,
  30. GestureNodeLongPressMoveUpdateCallback? onNodeLongPressMoveUpdate,
  31. GestureNodeForcePressStartCallback? onNodeForcePressStart,
  32. GestureNodeForcePressEndCallback? onNodeForcePressEnd,
  33. GestureNodeForcePressPeakCallback? onNodeForcePressPeak,
  34. GestureNodeForcePressUpdateCallback? onNodeForcePressUpdate,
  35. GestureNodePanStartCallback? onNodePanStart,
  36. GestureNodePanUpdateCallback? onNodePanUpdate,
  37. GestureNodePanDownCallback? onNodePanDown,
  38. GestureNodeTapDownCallback? onNodeSecondaryTapDown,
  39. GestureNodeTapUpCallback? onNodeSecondaryTapUp,
  40. NodeCellBuilder? builder,
})

Implementation

const GraphiteCanvas({
  Key? key,
  required this.defaultCellSize,
  required this.matrix,
  required this.cellPadding,
  required this.contactEdgesDistance,
  required this.orientation,
  required this.maxScale,
  required this.minScale,
  required this.clipBehavior,
  this.overlayBuilder,
  this.edgeLabels,
  this.onEdgeTapDown,
  this.onEdgeTapUp,
  this.onEdgeLongPressStart,
  this.onEdgeLongPressEnd,
  this.onEdgeLongPressMoveUpdate,
  this.onEdgeForcePressStart,
  this.onEdgeForcePressEnd,
  this.onEdgeForcePressPeak,
  this.onEdgeForcePressUpdate,
  this.onEdgeSecondaryTapDown,
  this.onEdgeSecondaryTapUp,
  this.onCanvasTap,
  this.styleBuilder,
  this.pathBuilder,
  this.onNodeTapDown,
  this.onNodeTapUp,
  this.onNodeLongPressStart,
  this.onNodeLongPressEnd,
  this.onNodeLongPressMoveUpdate,
  this.onNodeForcePressStart,
  this.onNodeForcePressEnd,
  this.onNodeForcePressPeak,
  this.onNodeForcePressUpdate,
  this.onNodePanStart,
  this.onNodePanUpdate,
  this.onNodePanDown,
  this.onNodeSecondaryTapDown,
  this.onNodeSecondaryTapUp,
  this.builder,
}) : super(key: key);