ListFileCard

fun ListFileCard(file: File, onClick: () -> Unit, onInfoClick: () -> Unit, showThumbnail: Boolean, fontSize: Int, contentScale: ContentScale, filterQuality: FilterQuality, modifier: Modifier = Modifier)

Displays file information inside a card.

Parameters

file

The file to display.

onClick

Callback invoked when the card is clicked.

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.