Garret Yoder
03/25/2024, 6:55 PMval bottomSheetContent = mutableStateOf<(@Composable () -> Unit)?>(null)
Then to show the bottom sheet from anywhere you could just set content into that state value.Garret Yoder
03/25/2024, 7:02 PMModalBottomSheet
are slightly confusing, why is there a show and hide function in the sheet state if the same example has you wrapping the sheet in an if for a state boolean - which would do the same thing?Stylianos Gakis
03/25/2024, 7:03 PMGarret Yoder
03/25/2024, 7:05 PMGarret Yoder
03/25/2024, 7:05 PMStylianos Gakis
03/25/2024, 7:07 PMonDismissRequest
get called, after it has finished animating out or right as it starts animating out?Garret Yoder
03/25/2024, 7:09 PMGarret Yoder
03/25/2024, 7:09 PMStylianos Gakis
03/25/2024, 7:10 PMStylianos Gakis
03/25/2024, 7:10 PMGarret Yoder
03/25/2024, 7:12 PMGarret Yoder
03/25/2024, 7:15 PMStylianos Gakis
03/25/2024, 7:17 PMGarret Yoder
03/25/2024, 7:22 PMGarret Yoder
03/25/2024, 7:39 PMStylianos Gakis
03/25/2024, 7:41 PMGarret Yoder
03/25/2024, 7:52 PMStylianos Gakis
03/25/2024, 7:57 PMGarret Yoder
03/25/2024, 8:39 PMStylianos Gakis
03/25/2024, 8:44 PMFilip Wiesner
03/26/2024, 5:34 AMFullscreenPopup
in the repo as the base building block.