GridFile
fun GridFile(file: File, onClick: () -> Unit, onInfoClick: () -> Unit, showThumbnail: Boolean, fontSize: Int, contentScale: ContentScale, filterQuality: FilterQuality, modifier: Modifier = Modifier, colors: CardColors = CardDefaults.cardColors().copy(containerColor = Color.Transparent))
Displays file information as a grid item.
Parameters
file
The file to display.
onClick
Callback invoked when the item 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.
colors
Colors for the card.