setConnectorWidth method

void setConnectorWidth(
  1. double width
)

Implementation

void setConnectorWidth(double width) {
  connectorWidth = width;
  connectorSpan?.properties['textLength'] = width;
  if (needsConnector) {
    bounds = Rect.fromXYWH(
      bounds.x,
      bounds.y,
      widthWithoutConnector + getConnectorWidth(),
      bounds.height,
    );
  }
}