Drag Indication
fun BottomSheetScope.DragIndication(modifier: Modifier = Modifier, indication: Indication = rememberFocusRingIndication(
ringColor = Color.Blue,
ringWidth = 4.dp,
paddingValues = PaddingValues(horizontal = 8.dp, vertical = 14.dp),
cornerRadius = 8.dp
), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, onClickLabel: String? = "Toggle sheet")
A drag indication that can be used to control the bottom sheet.
It is strongly advised to use this component within your BottomSheet. Sheets are not by default accessible, and the DragIndication allows toggling of the sheet via the keyboard.
Parameters
modifier
Modifier to be applied to the drag indication.
indication
The indication to be shown when the drag indication is interacted with.
interaction Source
The interaction source for the drag indication.
on Click Label
The label for the click action.