I am passing a modifier instance to a function like this
@Composable
fun SomeComposable(modifier : Modifier) {
}
I want to know the current padding applied to the passed modifier inside the function. How to do this?
@Composable
fun SomeComposable(modifier : Modifier) {
// val currentTopPadding = modifier.getTopPadding()
}
I know there is nothing like getTopPadding()
but I want a similar or any other function if there is any which gives me padding