FlowPort class final

A connection point on a FlowNode.

Ports are pure data in phases 1-2; rendering and connection interaction arrive in phase 3. Modeling them now keeps FlowNode immutable in shape.

Constructors

FlowPort({required String id, required PortSide side, required PortKind kind, PortVisual visual = PortVisual.circle, String? label, Color? accent})
const

Properties

accent Color?
Optional accent color override (phase 3).
final
hashCode int
The hash code for this object.
no setterinherited
id String
Identifier, unique within the owning node.
final
kind PortKind
Input or output.
final
label String?
Optional human-readable label.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
side PortSide
Which node edge this port anchors to.
final
visual PortVisual
How the port should be drawn (phase 3).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited