Created
June 26, 2021 03:29
-
-
Save sergenes/3109c8b0d69e6fc9ecc35b94f67bdef2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
val color = if (side == CardFlipState.FRONT_FACE) backgroundColor | |
else backSideColor | |
Surface( | |
modifier = modifier, | |
shape = RoundedCornerShape(cornerRadiusBig), | |
color = color, | |
elevation = normalElevation, | |
content = { | |
Scaffold( | |
modifier = Modifier.fillMaxSize(), | |
topBar = {}, | |
bottomBar = { bottomBar(backgroundColor) }, | |
content = { content(color) } | |
) | |
} | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment