How to give Modal Bottom Sheet Max Min height in Compose
I am using ModalBottomSheet in my Android App, I want to give a minimum, maximum height to this sheet.
ModalBottomSheet(
onDismissRequest = {
// Do not allow dismiss unless the close button has been clicked
if (previewSheetState.isVisible && isClosable) {
scope.launch {
onBottomSheetDismiss()
previewSheetState.hide()
}
}
},
sheetState = previewSheetState,...