In the past convention was to put `Modifier` as a ...
# compose
m
In the past convention was to put
Modifier
as a first parameter of a
composable
. Did it change? Am seeing more and more samples, including Google ones, with
Modifier
as the last parameter. Where it "should be" put?
f
Can you share some of these samples? AFAIK convention is that Modifier is a first optional parameter
☝🏻 3
m
@fmasa
Jetnews
for example
f
Can you be more specific? I quickly searched through it and it seems to be in line with this convention. You can still have any number of non-optional parameters before modifier.
👍 3