topBar
fun topBar(title: String, navIcon: Painter? = painterResource(com.urbanairship.preferencecenter.core.R.drawable.ua_ic_preference_center_arrow_back), navIconDescription: String? = stringResource(R.string.ua_back), onNavigateUp: () -> Unit)(source)
Top bar for the preference center screens.
Parameters
title
The title to display in the top bar.
navIcon
The navigation icon to display. If null, no navigation icon is displayed.
navIconDescription
The content description for the navigation icon.
onNavigateUp
The callback to be invoked when the navigation icon is clicked.