Tash
08/20/2021, 5:15 PMText
its color
via a TextStyle
(esp when using a TextStyle
is coming from a Theme.typography
), vs via the color
parameter? i.e.
Text(style = MyTheme.typography.title.copy(color = #123456))
VS
Text(style = MyTheme.typography.title, color = #123456)
trying to choose the “best” approach in this caseHarsh Bhakta
08/20/2021, 7:02 PM2
to pass color as a saperate argument which signifies that they are independent properties. Also less code 😄 than pattern 1