SupportingContent

@Composable
fun SupportingContent(progress: DownloadProgress, completedContent: @Composable (DownloadProgress.Healthy) -> Unit = { Text(it.completedBytesString()) }, downloadingContent: @Composable (DownloadProgress.Healthy) -> Unit = { Text("Downloading: ${it.completedBytesString()}") }, pausedContent: @Composable (DownloadProgress.Healthy) -> Unit = { Text("Paused: ${it.completedBytesString()}") }, errorContent: @Composable (DownloadProgress.Error) -> Unit = { Text("Error: ${it.message}") }, tileLimitExceededContent: @Composable (DownloadProgress.TileLimitExceeded) -> Unit = { Text("Tile limit exceeded: ${it.limit} tiles") }, unknownContent: @Composable (DownloadProgress.Unknown) -> Unit = { Text("Unknown status") })(source)

The default supporting content for an OfflinePackListItem. It includes a Text describing the status of the pack; typically the download status and size. If the pack is in an error or other unhealthy state, it'll be indicated here.