Package-level declarations
Types
Link copied to clipboard
data class CenterToolbarColors(val containerColor: Color = Color.White, val contentColor: Color = Color.DarkGray)
Link copied to clipboard
class TopBarSettings(@DrawableRes val navIcon: Int = R.drawable.ic_arrow_left, @DrawableRes val actionIcon: Int = R.drawable.ic_btn_qrcode, val contentColor: Color = Color.DarkGray, val actionsBackgroundColor: Color = Color.DarkGray, val tintActionsColor: Color = Color.White, val backgroundColor: Color = Color.White)
Functions
Link copied to clipboard
fun CenterToolbar(title: @Composable () -> Unit, modifier: Modifier = Modifier, navigationIcon: @Composable () -> Unit = {}, actions: @Composable RowScope.() -> Unit = {}, colors: CenterToolbarColors = CenterToolbarColors())
Link copied to clipboard
Link copied to clipboard
fun Toolbar(modifier: Modifier = Modifier, title: String = String.empty(), topBarSettings: TopBarSettings = TopBarSettings(), style: TextStyle = LocalTextStyle.current, navigateToBackScreen: () -> Unit)
fun Toolbar(title: @Composable () -> Unit, modifier: Modifier = Modifier, navigationIcon: @Composable () -> Unit = {}, actions: @Composable RowScope.() -> Unit = {}, colors: CenterToolbarColors = CenterToolbarColors())
fun Toolbar(modifier: Modifier = Modifier, title: String = String.empty(), shapeActions: Shape = RoundedCornerShape(
topStart = 0.dp,
bottomStart = 0.dp,
topEnd = 6.dp,
bottomEnd = 6.dp
), style: TextStyle = LocalTextStyle.current, topBarSettings: TopBarSettings = TopBarSettings(), navigateToCustomAction: () -> Unit, navigateToBackScreen: () -> Unit)
Link copied to clipboard