toHintsBullets method

String toHintsBullets(
  1. PromptTheme theme
)

Generates a hints bullets string for display.

Implementation

String toHintsBullets(PromptTheme theme) {
  final entries = toHintEntries();
  final segments =
      entries.map((e) => HintFormat.hint(e[0], e[1], theme)).toList();
  return HintFormat.bullets(segments, theme);
}