VSWidgetNode constructor
VSWidgetNode({
- String? id,
- required String type,
- required Offset widgetOffset,
- required VSOutputData outputData,
- required dynamic setValue(
- dynamic
- required dynamic getValue(),
- required Widget child,
- String? title,
- String? toolTip,
- dynamic onUpdatedConnection(
- VSInputData interfaceData
Widget Node
Can be used to add a custom UI component to a node
Implementation
VSWidgetNode({
String? id,
required String type,
required Offset widgetOffset,
required VSOutputData outputData,
required this.setValue,
required this.getValue,
required this.child,
String? title,
String? toolTip,
Function(VSInputData interfaceData)? onUpdatedConnection,
}) : super(
id: id,
type: type,
widgetOffset: widgetOffset,
inputData: const [],
outputData: [outputData],
title: title,
toolTip: toolTip,
onUpdatedConnection: onUpdatedConnection,
);