Android Jetpack Compose width / height / size modifier vs requiredWidth / requiredHeight / requiredSize
The difference is that plain modifiers like width() take into account layout Constraints while required modifiers like requiredWidth() ignore them. You can think of constrains as min/max width/height of a measured element. To better understand how layout modifiers and constraints work take a look at this post. Let’s see an example of width modifier, height … Read more