u/themindstormin r/FlutterDev • Recommends
Properties in ThemeData and component properties they affect
I feel like I've been searching for this for too long:
What do each of the properties in ThemeData affect? If I want to change something, say the text style of a particular widget, how do I know which text style to change in ThemeData?
Take this example: I wanted to have a specific text style for my AppBar (top app bar). I'm not sure if I'm not going about this correctly, but it took me a while to realize that it is `textTheme.title`, a property of `AppBarTheme()` that changes the app bar text style.
Also, for buttons, for the textTheme, I could put ButtonTextTheme.primary, or ButtonTextTheme.secondary. What exactly are the dif…