If edge to edge is enable (if you tarket SDK 35 is enable by default) according with docummentation, is possible to set a safe area to draw your composes:
ModalBottomSheet(modifier = Modifier.safeDrawingPadding())
I hope that this help you.