Kshitij Patil12/24/2020, 5:08 PM
as first optional argument. May I know why? I've some Custom Composables like
which used to have first parameter the text itself so I didn't need to write parameter names explicitly, but putting modifier as first parameter makes me lose this power.
Adam Powell12/24/2020, 8:18 PM
come first. The intent of the guideline is that you can always supply a modifier to a compose UI function without using named parameters, it always comes right after the last required parameter.
Kshitij Patil12/24/2020, 9:12 PM
Adam Powell12/24/2020, 11:43 PM