Decorators in Flutter? 馃く
21 likes 6 replies
Replies
Dominik Roszkowski 路 Dec 18
I sometimes miss this kind of syntax, and sometimes just build my own extensions for one-off decorations. However, if I want to make it more prominent what widget is the most important in the tree without changing the order of wrapping I just extract decoration to a wrapper widget
Taha Tesser 路 Dec 17
Mix vibes!
Chris Marx 路 Dec 17
We Swift now
FMorschel 路 Dec 19
I dislike them because they feel so far away from the trees the team has everywhere. If this ever comes to life, I probably won't use it.
Filipe 馃挋 路 Dec 17
I loved it. Whenever we can write the same with less the better, plus you have a simpler way to build your UIs. I'm not going to lie the change for me will be tough but I can see myself explaining to new Flutter Devs more easily how to build UI.
Thomas 路 Dec 19
I really like @remirousselet.bsky.social take on this github.com/dart-lang/la... a lot Maybe we could combine it with automatic currying of the last parameter in functions then we wouldn't even need the additional pipe keyword. This would solve my long term wish to get rid of child/children too