statItem method
Writes a stat item line with icon: │ ✔ Label: Value
Useful for stat cards and dashboard displays.
Implementation
void statItem(
String label,
String value, {
String icon = '•',
StatTone tone = StatTone.accent,
}) {
final color = toneColor(tone, theme);
final line = StringBuffer();
line.write('$color$icon${theme.reset} ');
line.write('${theme.dim}$label:${theme.reset} ');
line.write('${theme.selection}${theme.bold}$value${theme.reset}');
gutterLine(line.toString());
}