Ayfri
10/18/2021, 4:19 PM@Composable function (with a content: @Composable () -> Unit argument) like in the Button Composable ?Big Chungus
10/18/2021, 4:23 PMCasey Brooks
10/18/2021, 4:32 PMLocalContentColor, and more generally is fully styled via LocalTextStyle. Providing new compositionLocals for those allows parents to style the text of their Children.
ProvideTextStyle() { } is a helpful shortcut for applying new styles for children Text() composables like thisChris Sinco [G]
10/18/2021, 9:49 PMChris Sinco [G]
10/18/2021, 9:50 PMProvideTextStyle and pass whatever TextStyle you want to value (replace MaterialTheme.typography.button in the example above)