BasicSheet

@Composable
fun BasicSheet(onDismissRequest: () -> Unit, properties: DialogProperties = SheetDefaults.DefaultSheetsProperties, cornerRadius: Dp = SheetDefaults.CornerRadius, followViewpoints: Set<ViewPoint> = ViewPoint.All, sheetContent: @Composable () -> Unit)

A basic sheet that can be used to show a sheet with custom content. Usually used when the design is different from the default sheet, like Sheet or HeadImageSheet.

Parameters

onDismissRequest

Executes when the user clicks outside the popup.

properties

See DialogProperties.

cornerRadius

The corner radius of the sheet.

followViewpoints

The viewpoints that the sheet will follow.

sheetContent

The content of sheet.