NiceDiagramDesigner constructor

const NiceDiagramDesigner({
  1. Key? key,
  2. required List<NiceDiagramNode> nodes,
  3. List<NiceDiagramEdge> edges = const [],
  4. ValueChanged<List<NiceDiagramNode>>? onNodesChanged,
  5. ValueChanged<List<NiceDiagramEdge>>? onEdgesChanged,
  6. ValueChanged<NiceDiagramNode>? onNodeTap,
  7. bool readOnly = false,
})

Implementation

const NiceDiagramDesigner({
  super.key,
  required this.nodes,
  this.edges = const [],
  this.onNodesChanged,
  this.onEdgesChanged,
  this.onNodeTap,
  this.readOnly = false,
});