Jetpack Compose Basics - Preview and it’s parameters

PHOTO EMBED

Wed Apr 20 2022 09:07:36 GMT+0000 (Coordinated Universal Time)

Saved by @GoodRequest. #kotlin

@Preview
@Composable
fun ExamplePreview() {
  Button(
    modifier = Modifier.fillMaxWidth(),
    onClick = {},
    content = { Text(text = "Button") })
}
content_copyCOPY