Created
August 21, 2021 17:18
-
-
Save waseefakhtar/786e8f08b4324644d1c582aca10c25a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun ProfileScreen(puppy: Puppy) { | |
val scrollState = rememberScrollState() | |
Column(modifier = Modifier.fillMaxSize()) { | |
BoxWithConstraints { | |
Surface { | |
Column( | |
modifier = Modifier | |
.fillMaxSize() | |
.verticalScroll(scrollState), | |
) { | |
ProfileHeader( | |
puppy, | |
this@BoxWithConstraints.maxHeight | |
) | |
// TODO: ProfileContent | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment