App Top Bar
A custom TopAppBar that can switch between a default and a transparent style. It supports a title, subtitle, back button, close button, favorite button, menu button, and actions.
Parameters
The Modifier to be applied to the top bar.
The title text to be displayed.
The subtitle text to be displayed below the title.
Callback for the back navigation icon.
Callback for the close navigation icon.
Callback for the favorite action icon.
Callback for the menu navigation icon.
Callback when the search icon is clicked.
The background color used for contrast in transparent mode.
Whether to use the transparent style.
The TopAppBarScrollBehavior to use.
The source of the profile image (URL or Resource).
Callback when the profile image is clicked.
A custom TopAppBar that uses a TopBarConfig to determine its state.
Parameters
The TopBarConfig to use.
The Modifier to be applied to the top bar.
The TopAppBarScrollBehavior to use.
A custom TopAppBar that selects the appropriate configuration from a list based on the selected route.
Parameters
The list of TopBarConfig to choose from.
The currently selected route.
The Modifier to be applied to the top bar.
The TopAppBarScrollBehavior to use.