Quentin Dommerc
07/20/2020, 2:06 PMModifier.foo() + Modifier.bar()
and Modifier.foo().bar()
?Fudge
07/20/2020, 2:30 PMAdam Powell
07/20/2020, 2:34 PM+
is leftover from before the fluent builder-factory style. There's work in progress to replace it with Modifier.then(other).bar()
matvei
07/20/2020, 2:39 PMplus & +
will be replaced by then
like Modifier.padding(...).background(...).then(myModifierFromClosure)
. It's easier to read, easy to chain and by typing .
after the modifier you immediately go into the autocompete world where all the accessible modifiers are visible.Quentin Dommerc
07/20/2020, 2:42 PM