@Composable public fun EmptyContent( text: String, painter: Painter, modifier: Modifier = Modifier, ) { Column( modifier = modifier.background(color = ChatTheme.colors.appBackground), horizontalAlignment = Alignment.CenterHorizontally, verticalArrangement = Arrangement.Center ) { Icon( painter = painter, contentDescription = null, tint = ChatTheme.colors.disabled, modifier = Modifier.size(96.dp), )  Spacer(Modifier.size(16.dp)) Text( text = text,style = ChatTheme.typography.title3, color = ChatTheme.colors.textLowEmphasis, textAlign = TextAlign.Center ) } }
The view that's shown when there's no data available. Consists of an icon and a caption below it. @param text The text to be displayed. @param painter The painter for the icon. @param modifier Modifier for styling.