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