Package-level declarations

Types

Link copied to clipboard
class BottomSheetSettings(val contentModifier: Modifier = Modifier .width(125.dp) .height(20.dp) .padding(vertical = 8.dp), val buttonTint: Color = Color.Gray, val isCardCloseShow: Boolean = true, val isCloseIconShow: Boolean = false, val onClosePressed: () -> Unit = {})

Functions

Link copied to clipboard
fun BottomSheetWithCloseDialog(modifier: Modifier = Modifier, bottomSheetSettings: BottomSheetSettings = BottomSheetSettings(), content: @Composable () -> Unit)

Author: @Jeluchu

Link copied to clipboard
fun <T> JchuAnimatedBottomSheet(value: T?, modifier: Modifier = Modifier, onDismissRequest: () -> Unit = {}, sheetState: SheetState = rememberModalBottomSheetState(), sheetMaxWidth: Dp = BottomSheetDefaults.SheetMaxWidth, shape: Shape = BottomSheetDefaults.ExpandedShape, containerColor: Color = BottomSheetDefaults.ContainerColor, contentColor: Color = contentColorFor(containerColor), tonalElevation: Dp = 0.dp, sheetGesturesEnabled: Boolean = true, scrimColor: Color = BottomSheetDefaults.ScrimColor, dragHandle: @Composable () -> Unit? = { BottomSheetDefaults.DragHandle() }, contentWindowInsets: @Composable () -> WindowInsets = { BottomSheetDefaults.windowInsets }, properties: ModalBottomSheetProperties = ModalBottomSheetDefaults.properties, content: @Composable ColumnScope.(T & Any) -> Unit)

Displays a modal bottom sheet while value is non-null.