Michał Diner
09/21/2021, 4:05 PMcontent: @Composable ColumnScope.() -> Unit
in
content: @Composable () -> Unit
and invoking it in
AnimatedVisibility(...) {
content()
}
Cancels the ColumnScope?Doris Liu
09/22/2021, 2:52 AMAnimatedVisibility is a Layout itself. Therefore when content gets put in the AnimatedVisibility, it's no longer a direct child of Column . Therefore ColumnScope extensions will have no effect on content.