Scanbot Dynamic Top Bar
fun ScanbotDynamicTopBar(modifier: <Error class: unknown class> = Modifier, title: StyledText = StyledText(
visible = false,
text = "Scan Item",
color = ScanbotColor("?sbColorOnPrimary", isArgb = false)
), mode: TopBarMode = TopBarMode.SOLID, backgroundColor: ScanbotColor = ScanbotColor("?sbColorPrimary", isArgb = false), cancelButtonEnabled: Boolean = true, cancelButton: ButtonConfiguration? = ButtonConfiguration(
text = "Cancel",
background = BackgroundStyle(
strokeColor = ScanbotColor("#00000000", isArgb = false),
fillColor = ScanbotColor("#00000000", isArgb = false),
strokeWidth = 0.0,
),
foreground = ForegroundStyle(
iconVisible = true, color = ScanbotColor("?sbColorOnPrimary", isArgb = false),
),
), goBack: () -> Unit, navBackIcon: <Error class: unknown class> = Icons.Filled.Close, actions: <Error class: unknown class>.() -> Unit = {})