Ran into this issue for the first time
Row {
Box {
AnimatedVisibility()
}
}
this gives you an error
'fun RowScope.AnimatedVisibility(visible: Boolean, modifier: Modifier = ..., enter: EnterTransition = ..., exit: ExitTransition = ..., label: String = ..., content: AnimatedVisibilityScope.() -> Unit): Unit' can't be called in this context by implicit receiver. Use the explicit one if necessary
I understand that there are three
AnimatedVisibility
functions
@Composable fun AnimatedVisibility
@Composable fun RowScope.AnimatedVisibility
@Composable fun ColumnScope.AnimatedVisibility
But how do I invoke the first one without any scope?