-
-
Save egorikftp/fb490ef77e8586833a04fc4c87bc33de 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 | |
@ExperimentalMaterialApi | |
fun DebugScreen( | |
scaffoldState: BottomSheetScaffoldState | |
) { | |
Column( | |
modifier = Modifier.fillMaxWidth(), | |
verticalArrangement = Arrangement.Top, | |
horizontalAlignment = Alignment.CenterHorizontally | |
) { | |
val fraction = scaffoldState.bottomSheetState.progress.fraction | |
val targetValue = scaffoldState.bottomSheetState.targetValue | |
val currentValue = scaffoldState.bottomSheetState.currentValue | |
Text("fraction = $fraction") | |
Text("target = $targetValue") | |
Text("current = $currentValue") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment