NiceDiagramDesigner constructor
const
NiceDiagramDesigner({
- Key? key,
- required List<
NiceDiagramNode> nodes, - List<
NiceDiagramEdge> edges = const [], - ValueChanged<
List< ? onNodesChanged,NiceDiagramNode> > - ValueChanged<
List< ? onEdgesChanged,NiceDiagramEdge> > - ValueChanged<
NiceDiagramNode> ? onNodeTap, - bool readOnly = false,
Implementation
const NiceDiagramDesigner({
super.key,
required this.nodes,
this.edges = const [],
this.onNodesChanged,
this.onEdgesChanged,
this.onNodeTap,
this.readOnly = false,
});