FieldPrototype class

A field prototype is the blueprint for a field instance.

It is used to store variables for use in the onExecute function of a node. If explicitly allowed, the user can change the value of the field.

Constructors

FieldPrototype({required String idName, String displayName = '', FlFieldStyle style = const FlFieldStyle(), Type dataType = dynamic, dynamic defaultData, required Widget visualizerBuilder(dynamic data), OnVisualizerTap? onVisualizerTap, EditorBuilder? editorBuilder})

Properties

dataType Type
final
defaultData → dynamic
final
displayName String
final
editorBuilder → EditorBuilder?
final
hashCode int
The hash code for this object.
no setterinherited
idName String
final
onVisualizerTap → OnVisualizerTap?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style FlFieldStyle
final
visualizerBuilder Widget Function(dynamic data)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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