InfoBarData

constructor(text: String, icon: @Composable () -> Unit? = null, color: Color, backgroundColor: Color, actionText: String? = null, onClick: () -> Unit? = null)

Parameters

text

: main text to be displayed within the item.

icon

: the icon to be displayed.

color

: text color.

backgroundColor

: background color.

actionText

: the text to be used for action button.

onClick

: callback for the action button.