Info Bar Data
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.
background Color
: background color.
action Text
: the text to be used for action button.
on Click
: callback for the action button.