CalloutDefaults

Contains the default values used by Callout.

Since

200.5.0

Functions

Link copied to clipboard
fun colors(backgroundColor: Color = MaterialTheme.colorScheme.background, borderColor: Color = MaterialTheme.colorScheme.outlineVariant): CalloutColors

Creates an instance of CalloutColors with default values from MaterialTheme.

Link copied to clipboard
fun shapes(cornerRadius: Dp = 10.dp, borderWidth: Dp = 2.dp, leaderSize: DpSize = DpSize(width = 12.dp, height = 10.dp), calloutContentPadding: PaddingValues = PaddingValues( all = cornerRadius + (borderWidth / 2) ), minSize: DpSize = DpSize( width = borderWidth + (2 * cornerRadius), height = borderWidth + (2 * cornerRadius) )): CalloutShapes

Creates an instance of CalloutShapes with default values.