Custom

data class Custom(val modifier: Modifier = Modifier, val aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Ratio1by1, val content: @Composable BoxScope.() -> Unit) : TextOverlayMediaContainer(source)

Custom content for the media container. This is intended for custom loading image logic and follows the Image styling aspects.

Constructors

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

Properties

Link copied to clipboard

The aspect ratio of the custom content.

Link copied to clipboard

The composable lambda that will be used to draw the custom content

Link copied to clipboard

the modifier to be applied to the parent of the custom content.