AwsNodesSpace constructor
const
AwsNodesSpace({
- Key? key,
- required AwsNodeConnectorNodesSpace connector,
- required AwsNodeElementNodesSpace node,
- required dynamic updateNode(),
- AwsAniSetting? animation,
- double minScale = 0.1,
- double maxScale = 100.0,
Constructor of class AwsNodesSpace.
node: Main node that will be displayed in the space.
updateNode: Function used to update the position of a node.
connector: Global connector that will be used to connect nodes in space.
animation: Global animation settings for the node space (optional).
Implementation
const AwsNodesSpace({
Key? key,
required this.connector,
required this.node,
required this.updateNode,
this.animation,
this.minScale = 0.1,
this.maxScale = 100.0,
}) : super(key: key);