HelpStyles constructor

HelpStyles({
  1. String ellipsis = '…',
  2. String shortSeparator = ' • ',
  3. String fullSeparator = ' ',
  4. Style? keyStyle,
  5. Style? descStyle,
  6. Style? sepStyle,
})

Creates help styles with defaults.

Implementation

HelpStyles({
  this.ellipsis = '…',
  this.shortSeparator = ' • ',
  this.fullSeparator = '    ',
  Style? keyStyle,
  Style? descStyle,
  Style? sepStyle,
}) : keyStyle = keyStyle ?? Style().foreground(AnsiColor(8)), // Dark gray
     descStyle = descStyle ?? Style().foreground(AnsiColor(7)), // Light gray
     sepStyle = sepStyle ?? Style().foreground(AnsiColor(8));