connectorLine method

String connectorLine({
  1. String? leadingGutter,
})

Builds the connector line below the header.

Implementation

String connectorLine({String? leadingGutter}) {
  final glyphs = theme.glyphs;
  final width = contentWidth + 2; // +2 for spacing
  final prefix = leadingGutter ?? _defaultConnectorPrefix();
  if (!theme.features.showBorders && leadingGutter == null) {
    return ''; // No connector when borders are disabled
  }
  return '$prefix${glyphs.borderHorizontal * width}';
}