DiagramEditor constructor
const
DiagramEditor({
- Key? key,
- required DiagramEditorContext diagramEditorContext,
The main widget of diagram_editor library.
In this widget all the editing of a diagram happens.
How to use it: diagram_editor.
Source code: github.
It takes DiagramEditorContext as required parameter. You should define its size in its parent widget, eg. Container.
Implementation
const DiagramEditor({
super.key,
required this.diagramEditorContext,
});