bottomLineColored static method

String bottomLineColored(
  1. String title,
  2. PromptTheme theme,
  3. String color
)

Bottom line with a custom color.

Implementation

static String bottomLineColored(
    String title, PromptTheme theme, String color) {
  final g = theme.glyphs;
  return '$color${g.borderBottom}${g.borderHorizontal * (title.length + 5)}${theme.reset}';
}