plainTitleColored static method

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

Plain title with a custom color.

Implementation

static String plainTitleColored(
    String title, PromptTheme theme, String color) {
  return '$color$title${theme.reset}';
}