VSNodeView constructor

const VSNodeView({
  1. required VSNodeDataProvider nodeDataProvider,
  2. Widget contextMenuBuilder(
    1. BuildContext context,
    2. Map<String, dynamic> nodeBuildersMap
    )?,
  3. Widget nodeBuilder(
    1. BuildContext context,
    2. VSNodeData data
    )?,
  4. Widget nodeTitleBuilder(
    1. BuildContext context,
    2. VSNodeData nodeData
    )?,
  5. bool enableSelectionArea = true,
  6. Widget selectionAreaBuilder(
    1. BuildContext context,
    2. Widget view
    )?,
  7. GestureDetector gestureDetectorBuilder(
    1. BuildContext context,
    2. VSNodeDataProvider nodeDataProvider
    )?,
  8. Key? key,
})

The base node widget

Display and interact with nodes to build node trees

Implementation

const VSNodeView({
  required this.nodeDataProvider,
  this.contextMenuBuilder,
  this.nodeBuilder,
  this.nodeTitleBuilder,
  this.enableSelectionArea = true,
  this.selectionAreaBuilder,
  this.gestureDetectorBuilder,
  super.key,
});