styledMessage method
void
styledMessage(})
Writes a styled message line with icon: │ ℹ Message
Useful for info boxes, toasts, and notifications.
Implementation
void styledMessage(
String message, {
String icon = 'ℹ',
StatTone tone = StatTone.info,
bool bold = false,
}) {
final color = toneColor(tone, theme);
final iconPart = '${theme.bold}$color$icon${theme.reset}';
final msgPart = bold ? '${theme.bold}$message${theme.reset}' : message;
gutterLine('$iconPart $msgPart');
}