Created
March 16, 2022 18:46
-
-
Save akitikkx/fe45c7e9c2fc1d70602c57a746710c2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ExperimentalMaterialApi | |
@Composable | |
fun ShowDetailScreen(...) { | |
... | |
val modalBottomSheetState = rememberModalBottomSheetState(ModalBottomSheetValue.Hidden) | |
... | |
ModalBottomSheetLayout( | |
sheetState = modalBottomSheetState, | |
sheetContent = { | |
Surface( | |
Modifier | |
.fillMaxWidth() | |
) { | |
ShowCastBottomSheetItem(showCast = selectedCastMemberState.value) | |
} | |
}, | |
scrimColor = Color.Black.copy(alpha = 0.32f) | |
) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment