AwsNodesSpace constructor

const AwsNodesSpace({
  1. Key? key,
  2. required AwsNodeConnectorNodesSpace connector,
  3. required AwsNodeElementNodesSpace node,
  4. required dynamic updateNode(
    1. String,
    2. Offset
    ),
  5. AwsAniSetting? animation,
  6. double minScale = 0.1,
  7. 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);