EmptyContent

fun EmptyContent(text: String, painter: Painter, modifier: Modifier = Modifier, title: String? = null)

The view that's shown when there's no data available. Consists of an icon and a caption below it.

Parameters

text

The text to be displayed.

painter

The painter for the icon.

modifier

Modifier for styling.

title

Optional title to be displayed above the text.