Jetpack Compose Basics - Showing images

PHOTO EMBED

Mon Oct 04 2021 05:41:58 GMT+0000 (UTC)

Saved by @GoodRequest. #kotlin

@Composable
fun Image(
    //bitmap or vector or painter
    contentDescription: String?,
    modifier: Modifier = Modifier,
    alignment: Alignment = Alignment.Center,
    contentScale: ContentScale = ContentScale.Fit,
    alpha: Float = DefaultAlpha,
    colorFilter: ColorFilter? = null
)
content_copyCOPY