Join Slack
When setting the peek height of a bottom sheet scaffold, how do I set it to be 20% of the screen hei...
# compose
a
Anton Dmytryshyn
07/24/2021, 7:46 AM
When setting the peek height of a bottom sheet scaffold, how do I set it to be 20% of the screen height at initialization?
a
Abhishek Dewan
07/24/2021, 7:49 AM
Use a BoxWithConstraints composable to get the maxheight and then calculate from there
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by