VSNodeData class
- Implementers
Constructors
-
VSNodeData({String? id, required String type, required Offset widgetOffset, required Iterable<
VSInputData> inputData, required Iterable<VSOutputData> outputData, double? nodeWidth, dynamic onUpdatedConnection(VSInputData interfaceData)?, String? toolTip, String? title}) - Holds all relevant node data
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The nodes ID
no setter
-
inputData
↔ Iterable<
VSInputData> -
The input interfaces of this node
getter/setter pair
- nodeWidth → double?
-
The width this node will have in the UI
final
- onUpdatedConnection → dynamic Function(VSInputData interfaceData)?
-
This function gets called when any input interface updates its connected node
final
-
outputData
↔ Iterable<
VSOutputData> -
The output interfaces of this node
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String
-
The title displayed on the node
getter/setter pair
- toolTip → String?
-
A tooltip displayed on the widget
final
- type → String
-
The type of this node
final
- widgetOffset ↔ Offset
-
The current offset of the widget from the origin (Top-Left corner)
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBaseData(
String id, String title, Offset widgetOffset) → void - Used for deserializing
-
setRefData(
Map< String, VSOutputData?> inputRefs) → void - Used for deserializing
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited