VSWidgetNode class

Inheritance

Constructors

VSWidgetNode({String? id, required String type, required Offset widgetOffset, required VSOutputData outputData, required dynamic setValue(dynamic), required dynamic getValue(), required Widget child, double? nodeWidth, String? title, String? toolTip, dynamic onUpdatedConnection(VSInputData interfaceData)?})
Widget Node

Properties

child → Widget
final
getValue → dynamic Function()
Used to get the value of the supplied widget during serialization
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The nodes ID
no setterinherited
inputData ↔ Iterable<VSInputData>
The input interfaces of this node
getter/setter pairinherited
nodeWidth → double?
The width this node will have in the UI
finalinherited
onUpdatedConnection → dynamic Function(VSInputData interfaceData)?
This function gets called when any input interface updates its connected node
finalinherited
outputData ↔ Iterable<VSOutputData>
The output interfaces of this node
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
setValue → dynamic Function(dynamic)
Used to set the value of the supplied widget during deserialization
final
title ↔ String
The title displayed on the node
getter/setter pairinherited
toolTip → String?
A tooltip displayed on the widget
finalinherited
type → String
The type of this node
finalinherited
widgetOffset ↔ Offset
The current offset of the widget from the origin (Top-Left corner)
getter/setter pairinherited

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
inherited
setRefData(Map<String, VSOutputData?> inputRefs) → void
Used for deserializing
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited