Solutions
Multiplatform
Server-side
Data science
Android
Docs
API
APIs overview
Standard library (stdlib)
Test library (kotlin.test)
Coroutines (kotlinx.coroutines)
Serialization (kotlinx.serialization)
Kotlin I/O library (kotlinx-io)
Date and time (kotlinx-datetime)
JVM Metadata (kotlin-metadata-jvm)
Kotlin Gradle plugins
Ktor
Compose Multiplatform Material3
Community
Teach
Play
Playground
Koans
Compose Multiplatform
Toggle table of contents
1.8.0
common
Platform filter
common
Switch theme
Search in API
Compose Multiplatform
Compose Multiplatform Material3
/
androidx.compose.material3
/
BottomSheetDefaults
/
DragHandle
Drag
Handle
@
Composable
fun
DragHandle
(
modifier
:
Modifier
=
Modifier
,
width
:
Dp
=
SheetBottomTokens.DockedDragHandleWidth
,
height
:
Dp
=
SheetBottomTokens.DockedDragHandleHeight
,
shape
:
Shape
=
MaterialTheme.shapes.extraLarge
,
color
:
Color
=
SheetBottomTokens.DockedDragHandleColor.value
)
The optional visual marker placed on top of a bottom sheet to indicate it may be dragged.