Android75
04/09/2022, 2:35 PMactions: @Composable RowScope.() -> Unit = {},
i’d like to have different action… how can create composable function like this
actions = {
IconButton(onClick = { }) {
Icon(imageVector = Icons.Default.Share, contentDescription = "", tint = BlueDentPad)
}
Icon(
Icons.Filled.ColorLens,tint = BlueDentPad,
contentDescription = "Localized description"
)
}
fun RowScope.customAction()= {
IconButton(onClick = { }) {
Icon(imageVector = Icons.Default.Share, contentDescription = "", tint = BlueDentPad)
}
Icon(
Icons.Filled.ColorLens, tint = BlueDentPad,
contentDescription = "Localized description"
)
}