@Preview(showBackground = true, name = "UserAvatar Preview (Without avatar image)") @Composable private fun UserAvatarForUserWithoutImagePreview() { UserAvatarPreview(PreviewUserData.userWithoutImage) }
Preview of [UserAvatar] for a user without avatar image.Should show background gradient and user initials.