grandstaish
11/05/2020, 7:54 PMLinearGradient
brush in a parent draw modifier, and have a child composable’s draw modifier later use that same LinearGradient
. (This would ensure that I have the same colours and size when the child uses it.)
Follow up q: is there anything that I can use within a draw scope that would allow me to know the current composable’s coordinate offset relative to another parent? I.e. the compose equivalent of offsetDescendantRect
grandstaish
11/05/2020, 9:50 PMAmbientFabPlacement
works, which lets child composables know information about where the fab is positioned using SubcomposeLayout
Adriano Celentano
11/06/2020, 6:19 AM