Custom

data class Custom(val modifier: Modifier = Modifier, val contentAlignment: Alignment = Alignment.Center, 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, contentAlignment: Alignment = Alignment.Center, content: @Composable BoxScope.() -> Unit)

Properties

Link copied to clipboard

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

Link copied to clipboard

The alignment of the content. Of type Alignment with default value Alignment.Center

Link copied to clipboard

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