how would a user add an extra param to the Text method?
05/25/2019, 12:59 AM
Can you elaborate what you mean by extra param for Text?
05/25/2019, 1:21 AM
I was thinking about a use case similar to the button snippet I linked here: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1558735510061000, Making it so you can pre-define some set of attributes for Text and apply all of them with a single argument instead of several. ie my app may have many remove buttons and all of them have: caps, red text, 26.dp, ripple background.
05/25/2019, 1:36 AM
Got it thanks.
Being able to flow/feed a set of properties to a node and its children in a tree is an interesting problem, for which i don't have an elegant answer, yet.