Colton Idle
08/26/2020, 7:02 PMGeorge Mount
08/26/2020, 7:03 PMColton Idle
08/26/2020, 7:05 PMJavier
08/26/2020, 7:25 PMromainguy
08/26/2020, 7:36 PMLeland Richardson [G]
08/26/2020, 7:50 PM@Composable fun MyComponent() {
SomeLayout(Modifier.foo(..).bar(…)) { ... }
}
You are able to do
@Composable fun MyComponent(modifier: Modifier = Modifier) {
SomeLayout(modifier.foo(..).bar(..)) { ... }
}
without breaking encapsulationColton Idle
08/27/2020, 3:29 AMLeland Richardson [G]
08/27/2020, 3:32 AMColton Idle
08/27/2020, 3:35 AMLeland Richardson [G]
08/27/2020, 3:38 AM