https://kotlinlang.org logo
#compose
Title
# compose
r

Rihards

02/02/2023, 8:39 AM
Hi! How can I achieve that
TopAppBar
is put in the background of the bottom sheet like in example from the picture? By that I mean - it’s darker same as other items under the bottom sheet and not clickable - if user taps on it then bottom sheet closes. Same as it would be in scenario when user clicks on any other place outside the bottom sheet.
1
Probably need to use state, but I have no idea where to use that state value and should it be just
MutableState<Boolean>
or something else.