titleWithBordersColored static method
Title with themed borders but custom color.
Implementation
static String titleWithBordersColored(
String title, PromptTheme theme, String color) {
final g = theme.glyphs;
return '$color${g.borderTop}${g.borderHorizontal} $title ${g.borderHorizontal}${g.matchingCorner(g.borderTop)}${theme.reset}';
}