Kenneth Leong
10/07/2021, 6:13 AMdimensionResource
inside a constrainScope
for setting constraint margins?Csaba Kozák
10/07/2021, 7:15 AMconstrainScope
lambda is not @Composable
. You have to save the dimens to variable in @Composable
context, and access that in the constraintScope
.Kenneth Leong
10/07/2021, 7:18 AMCsaba Kozák
10/07/2021, 7:19 AM