【发布时间】:2020-08-02 08:50:14
【问题描述】:
我试图为“如何正确编码 ThemeData 的折旧 'title' 参数?”这个问题找到答案。 (我正在学习教程)。但是,我在其他主题的一些 cmets 之间找到了正确答案。我将答案留在下面以供将来参考和轻松查找。
theme: new ThemeData(
primaryTextTheme: TextTheme(
title: TextStyle(
color: Colors.white,
))),
How to change text color of AppBar, icon color of FAB universally using theme?
eMarine 的回答:https://stackoverflow.com/users/1584407/emarine
【问题讨论】: