ConnectionEndPoint constructor

const ConnectionEndPoint({
  1. required MarkerShape shape,
  2. required Size size,
  3. Color? color,
  4. Color? borderColor,
  5. double? borderWidth,
})

Creates a connection endpoint marker.

Parameters:

  • shape: The geometric shape of the endpoint marker
  • size: The size of the marker in logical pixels
  • color: Optional fill color (falls back to connection/port theme color)
  • borderColor: Optional border color (falls back to port theme border color)
  • borderWidth: Optional border width (falls back to port theme border width)

Implementation

const ConnectionEndPoint({
  required this.shape,
  required this.size,
  this.color,
  this.borderColor,
  this.borderWidth,
});