PasswordStyles constructor

PasswordStyles({
  1. Style? prompt,
  2. Style? text,
  3. Style? cursor,
  4. Style? dimmed,
  5. Style? error,
})

Implementation

PasswordStyles({
  Style? prompt,
  Style? text,
  Style? cursor,
  Style? dimmed,
  Style? error,
}) : prompt = prompt ?? Style().bold().foreground(AnsiColor(11)),
     text = text ?? Style(),
     cursor = cursor ?? Style(),
     dimmed = dimmed ?? Style().foreground(AnsiColor(8)),
     error = error ?? Style().foreground(AnsiColor(9));