Composable

fun KalugaButton.Composable(modifier: Modifier, elevation: ButtonElevation = ButtonDefaults.elevation(), contentPadding: PaddingValues = ButtonDefaults.ContentPadding)

Gets a Button that looks and behaves according to a KalugaButton

Parameters

modifier

the Modifier to be applied to the button

elevation

the ButtonElevation used to resolve the elevation for this button in different states. This controls the size of the shadow below the button. Pass null here to disable elevation for this button. See ButtonDefaults.elevation.

contentPadding

The spacing values to apply internally between the container and the content


fun KalugaImage.Composable(contentDescription: String?, modifier: Modifier = Modifier, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Fit, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null)
fun TintedImage.Composable(contentDescription: String?, modifier: Modifier = Modifier, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Fit, alpha: Float = DefaultAlpha)


Gets a Text that looks like the specification of a KalugaLabel

Parameters

modifier

the Modifier to be applied to this layout node