FilePickerStyles constructor
FilePickerStyles({})
Implementation
FilePickerStyles({
Style? cursor,
Style? symlink,
Style? directory,
Style? file,
Style? permission,
Style? selected,
Style? disabledCursor,
Style? disabledFile,
Style? disabledSelected,
Style? fileSize,
Style? emptyDirectory,
}) : cursor = cursor ?? Style().foreground(AnsiColor(212)),
symlink = symlink ?? Style().foreground(AnsiColor(36)),
directory = directory ?? Style().foreground(AnsiColor(99)),
file = file ?? Style(),
permission = permission ?? Style().foreground(AnsiColor(244)),
selected = selected ?? Style().bold().foreground(AnsiColor(212)),
disabledCursor = disabledCursor ?? Style().foreground(AnsiColor(247)),
disabledFile = disabledFile ?? Style().foreground(AnsiColor(243)),
disabledSelected =
disabledSelected ?? Style().foreground(AnsiColor(247)),
fileSize = fileSize ?? Style().foreground(AnsiColor(240)).width(7),
emptyDirectory =
emptyDirectory ?? Style().foreground(AnsiColor(240)).italic();