Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@waseefakhtar
Created August 21, 2021 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waseefakhtar/786e8f08b4324644d1c582aca10c25a7 to your computer and use it in GitHub Desktop.
Save waseefakhtar/786e8f08b4324644d1c582aca10c25a7 to your computer and use it in GitHub Desktop.
@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