ListFile

fun ListFile(file: File, onInfoClick: () -> Unit, showThumbnail: Boolean, fontSize: Int, contentScale: ContentScale, filterQuality: FilterQuality, modifier: Modifier = Modifier, colors: ListItemColors = ListItemDefaults.colors())

Displays file information as a list item.

Parameters

file

The file to display.

onInfoClick

Callback invoked when the info button is clicked.

showThumbnail

Whether to display the thumbnail.

fontSize

Font size for the file name text.

contentScale

Content scale for the thumbnail image.

filterQuality

Filter quality for the thumbnail image.

modifier

Modifier to be applied to the layout.

colors

Colors for the list item.