Pin a view to Bottom Sheet in Jetpack Compose
I'm trying to implement a persistent Bottom Sheet in Jetpack Compose which has a button that should be pinned to the bottom of this sheet at all time, it shouldn't get dragged with the other contents when expanding. I couldn't find an easy way to do it except manipulating other views heights relative to the bottom sheet state which is hard to maintain. Any idea how can I achieve that?
Here's an illustration for what I'm trying to achieve