-
Notifications
You must be signed in to change notification settings - Fork 0
box with controls
milan jurkulák edited this page May 2, 2024
·
1 revision
//tvlib/org.mjdev.tvlib.ui.components.gallery/BoxWithControls
[androidJvm]\
fun BoxWithControls(modifier: Modifier = Modifier, src: Any? = null, contentAlignment: Alignment = Alignment.BottomCenter, controlsState: MutableState<Boolean> = remember { mutableStateOf(false) }, onTap: () -> Unit = { controlsState.toggle() }, controls: @Composable(src: Any?, bckColor: Color, controlsState: MutableState<Boolean>) -> Unit = { _, _, _ -> }, content: @Composable(src: Any?, bckColor: Color, controlsState: MutableState<Boolean>) -> Unit)