ports library

Port system - connection points on nodes.

Classes

Port
Represents a connection point on a node in the flow editor.
PortTheme
Theme configuration for port visual appearance.
PortWidget<T>
Widget for rendering a port on a node.

Enums

PortPosition
Defines the position of a port on a node.
PortType
Defines the directionality of a port in a node-based flow editor.

Extensions

PortPositionExtension on PortPosition
Extension on PortPosition providing centralized port geometry calculations.

Constants

defaultPortSize → const Size
Default port size used when no size is specified.

Typedefs

PortBuilder<T> = Widget Function(BuildContext context, NodeFlowController<T> controller, Node<T> node, Port port, bool isOutput, bool isConnected, Rect nodeBounds)
Builder function type for customizing individual port widgets.