Custom

data class Custom(val modifier: Modifier = Modifier, val aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Ratio16by9, val content: @Composable () -> Unit) : CompactMediaContainer

Open composable container for the CompactCard. Only use this in case there are limitations using the other options.

Constructors

Link copied to clipboard
constructor(modifier: Modifier = Modifier, aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Ratio16by9, content: @Composable () -> Unit)

Properties

Link copied to clipboard

The aspect ratio for the container. Of type SkapaAspectRatio.

Link copied to clipboard
val content: @Composable () -> Unit

Open composable for custom content.

Link copied to clipboard

The modifier to be applied to the container. Of type Modifier.