VSOutputData<T> class abstract

Base output interface

Inheritance
Implementers

Constructors

VSOutputData({required String type, Widget interfaceIconBuilder(BuildContext context, GlobalKey<State<StatefulWidget>> anchor, VSInterfaceData data)?, String? title, String? toolTip, T outputFunction(Map<String, dynamic>)?})

Properties

hashCode → int
The hash code for this object.
no setterinherited
interfaceColor → Color
The color this interface will display in the UI
no setterinherited
interfaceIconBuilder ↔ Widget Function(BuildContext context, GlobalKey<State<StatefulWidget>> anchor, VSInterfaceData data)?
Can be used to insert you own interfaceIcon widget
getter/setter pairinherited
nodeData ↔ VSNodeData?
The parent node of this interface
getter/setter pairinherited
outputFunction → T Function(Map<String, dynamic>)?
The function this interface will execute on evaluation
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title ↔ String
The title displayed on the interface
getter/setter pairinherited
toolTip → String?
A tooltip displayed on the widget
finalinherited
type → String
The type of this interface
finalinherited
widgetOffset ↔ Offset?
The current offset of the interface relative to the origin of the parent (Top-Left corner)
getter/setter pairinherited

Methods

getInterfaceIcon({required BuildContext context, required GlobalKey<State<StatefulWidget>> anchor}) → Widget
The Icon displayed for this interface
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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