Hi! I have a bottom sheet that have a button on the bottom, I want to show that button as sticky to...
a
Hi! I have a bottom sheet that have a button on the bottom, I want to show that button as sticky to the bottom, independent if the bottom sheet is full expanded or half expanded..., code in thread
👀 1
Copy code
Column {
    LazyColumn(
        modifier = Modifier
            .fillMaxWidth(),
    ) {
        stickyHeader {
            Header(onClose)
        }
        // items....
    }
    Spacer(modifier = Modifier.weight(1f))
    TextButton()
}
a
@alorma How did you make the Corner of the bottomsheet rounded ?! And how you make the background with dark color ?!
a
eeeeeehm:
How did you make the Corner of the bottomsheet rounded ?!
Set the large shape on theme as:
Copy code
RoundedCornerShape(
    topStart = 16.dp,
    topEnd = 16.dp,
)
And how you make the background with dark color
It goes by default with
ModalBottomSheetLayout
❤️ 1
a
Thank you ♥️