Jenga Top App Bar
A top app bar with a title, optional navigation icon and trailing actions.
Applies status-bar inset padding itself, so it sits correctly under the system bar whether or not it is hosted in a JengaScaffold.
Parameters
the bar title.
the Modifier for this bar.
optional secondary line under the title (e.g. context/details).
optional leading icon (e.g. back); inherits content color.
trailing actions laid out in a RowScope; inherit content color.
whether the bottom divider is drawn (e.g. only once content scrolls under it).
the minimum bar height, excluding the status-bar inset; defaults to the theme's JengaTopAppBarStyle.height, else JengaTopAppBarDefaults.Height.
padding inside the bar.
the color set; defaults to JengaTopAppBarDefaults.colors.
the title text style.
Samples
JengaTopAppBar(
title = "Events",
)A top app bar whose title is a slot, for titles that are more than one string (e.g. a monospaced id with a subtitle, or a tappable switcher line).
Parameters
the title content; inherits content color.
the Modifier for this bar.
optional leading icon (e.g. back); inherits content color.
trailing actions laid out in a RowScope; inherit content color.
whether the bottom divider is drawn (e.g. only once content scrolls under it).
the minimum bar height, excluding the status-bar inset; defaults to the theme's JengaTopAppBarStyle.height, else JengaTopAppBarDefaults.Height.
padding inside the bar.
the color set; defaults to JengaTopAppBarDefaults.colors.