NodeData constructor

NodeData(
  1. Color portColor,
  2. Color selectedPortColor,
  3. List<Port> inputPorts,
  4. List<Port> outputPorts,
  5. Color selectedBorderColor,
  6. String nodeName,
  7. String nodeType,
  8. IconData icon,
  9. Color iconColor,
)

The NodeData class constructor is initializing the properties of a NodeData object with the values passed as arguments. Here's a breakdown of what each parameter represents:

Implementation

NodeData(
  this.portColor,
  this.selectedPortColor,
  this.inputPorts,
  this.outputPorts,
  this.selectedBorderColor,
  this.nodeName,
  this.nodeType,
  this.icon,
  this.iconColor,
);