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, Node<T> node, Port port)
Builds a custom port widget for a node.
PortWidgetBuilder<T> = Widget Function(BuildContext context, Node<T> node, Port port)
Builder function for creating a port widget.