Created
June 26, 2023 11:22
-
-
Save PriyaSindkar/c36de67fed843160d3728645fb6f72ba to your computer and use it in GitHub Desktop.
BottomSheet Drag Handle customization
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
// to customize sheet drag handle | |
sheetDragHandle = { | |
BottomSheetDefaults.DragHandle( | |
color = Color.Red, | |
shape = RoundedCornerShape(2.dp), | |
width = 48.dp, | |
height = 8.dp | |
) | |
}, | |
-------- | |
// to hide sheet drag handle | |
sheetDragHandle = {}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment