NodeFlowEditor<T> constructor
const
NodeFlowEditor<T> ({
- Key? key,
- required NodeFlowController<
T> controller, - required Widget nodeBuilder(
- BuildContext context,
- Node<
T> node
- required NodeFlowTheme theme,
- NodeShape? nodeShapeBuilder(
- BuildContext context,
- Node<
T> node
- Widget nodeContainerBuilder(
- BuildContext context,
- Node<
T> node, - Widget content
- NodeFlowEvents<
T> ? events, - bool enablePanning = true,
- bool enableZooming = true,
- bool enableSelection = true,
- bool enableNodeDragging = true,
- bool enableConnectionCreation = true,
- bool enableNodeDeletion = true,
- bool scrollToZoom = true,
- bool showAnnotations = true,
Implementation
const NodeFlowEditor({
super.key,
required this.controller,
required this.nodeBuilder,
required this.theme,
this.nodeShapeBuilder,
this.nodeContainerBuilder,
this.events,
this.enablePanning = true,
this.enableZooming = true,
this.enableSelection = true,
this.enableNodeDragging = true,
this.enableConnectionCreation = true,
this.enableNodeDeletion = true,
this.scrollToZoom = true,
this.showAnnotations = true,
});