buildSeparator method

String buildSeparator(
  1. int innerWidth
)

Builds a horizontal separator line (for table rows).

Implementation

String buildSeparator(int innerWidth) {
  if (!isVisible) return '';
  final ml = middleLeft ?? topLeft;
  final mr = middleRight ?? topRight;
  return '$ml${top * innerWidth}$mr';
}