Cannot apply theme for text of button using ButtonThemeData
#29728
Labels
a: quality
A truly polished experience
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
I want to use
ButtonThemeData
for not only for button theme but also for text theme (which is the child of that button). However I notice it only take effect on button, but not text.Steps to Reproduce
ButtonThemeData
, I see we're allowed to theme text to some predefined colors such asButtonTextTheme.primary
,normal
oraccent
. However I myself want to control its style (text color, text size) instead. Is it possible?Logs
The text was updated successfully, but these errors were encountered: