How to animate offset from pointer input
I am trying to make a component with a collapsed and expanded state. When collapsed there is a single row of content, and 5 rows when expanded with a downward swipe. Any single row can be visible when the component is collapsed, depending on some criteria. After looking at the
animation codelab, I have come up with the following composable, but I'm not sure how to add an offset animation...