portBuilder property
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 renderisOutput- Whether the port is an output portisConnected- Whether the port has any connectionsisHighlighted- Whether the port is being hovered during connection drag
The returned widget replaces the default PortWidget.
Implementation
final PortBuilder<T>? portBuilder;