AwsNodesSpace class

Widget that represents a node space

Inheritance

Constructors

AwsNodesSpace({Key? key, required AwsNodeConnectorNodesSpace connector, required AwsNodeElementNodesSpace node, required dynamic updateNode(String, Offset), AwsAniSetting? animation, double minScale = 0.1, double maxScale = 100.0})
Constructor of class AwsNodesSpace.
const

Properties

animation AwsAniSetting?
Global animation settings for the node space (optional).
final
connector AwsNodeConnectorNodesSpace
Global connector that will be used to connect nodes in space.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
maxScale double
Maximum scala in which the node space will be displayed.
final
minScale double
Minimum scala in which the node space will be displayed.
final
node AwsNodeElementNodesSpace
Main node that will be displayed in this space.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateNode → dynamic Function(String, Offset)
Function used to update the position of a node. use the AwsNodesSpace.updateOffsetsRecursively() method, to update the position of a node if you don't want to do it yourself.
final

Methods

animated(AwsNodeAnimatedNodesSpace node) Positioned
Positions an animated node from AwsNodeAnimatedNodesSpace.
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
connectorPaint(BuildContext context) CustomPaint
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
hoverAnimated(AwsNodeHoverAnimatedNodesSpace node) Positioned
hoverAnimated Positions a hover node of type AwsNodeHoverAnimatedNodesSpace.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
size(AwsNodeSizeNodesSpace node) Positioned
Positions an AwsNodeSizeNodesSpace node by adjusting its size.
standard(AwsNodeStandardNodesSpace node) Positioned
Positions a standard node of AwsNodeStandardNodesSpace.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited
zoomInOut(AwsNodeZoomInOutNodesSpace node) Positioned
zoomInOut Positions a node with a zoom effect of type AwsNodeZoomInOutNodesSpace.

Operators

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

Static Methods

updateOffsetsRecursively({required AwsNodeElementNodesSpace node, required String id, required Offset offset}) → void