Chris Banes writes a about Jetpack Compose’s
Modifier paradigm, the power it holds, and why you should always provide a
Any composable you write which emits layout (even a simple Box), should have a
modifier: Modifier parameter, which is then used in the layout.
The biggest takeaway I got from this article is the ability for some modifications to only be available in certain scopes. Providing a
Modifier parameter to all Composables creates the ability to pass these modifications to other scopes.
Let “parent” Composables dictate how a child Composable will be rendered.