Column not taking all available space from it's parent Column

71 Views Asked by At
Column(
     modifier = Modifier.fillMaxSize().background(Color.Green)
) {
     Column(
        modifier = Modifier.fillMaxSize().background(Color.Red)
     ) {}
}

This child Column is not taking any space from it's parent Column

I want this column to fill the full available space

Any ideas about how to do this?

I am trying to make a Column child fill all the space in it's parent Column But the result is that the child Column is not taking any space

1

There are 1 best solutions below

0
On

Please provide an image

From your code you can see that the child column fills the parent column

enter image description here