portBuilder property

PortBuilder<T>? portBuilder
final

Optional builder for customizing individual port widgets.

When provided, this builder is called for each port and receives:

  • node - The node containing the port
  • port - The port to render
  • isOutput - Whether the port is an output port
  • isConnected - Whether the port has any connections
  • isHighlighted - Whether the port is being hovered during connection drag

The returned widget replaces the default PortWidget.

Implementation

final PortBuilder<T>? portBuilder;