Hi! How can I achieve that `TopAppBar` is put in t...
# compose
r
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.