summaryLine method

String summaryLine()

Creates a summary line showing selection count.

Implementation

String summaryLine() {
  final count = selection.count;
  final total = items.length;
  if (count == 0) {
    return '${theme.dim}(none selected)${theme.reset}';
  }
  return '${theme.accent}$count${theme.reset}/${theme.dim}$total${theme.reset} selected';
}