@override
ThemeData appBarTheme(BuildContext context) {
assert(context != null);
final ThemeData theme = Theme.of(context);
assert(theme != null);
return theme.copyWith(
primaryColor: Colors.white,
primaryIconTheme: theme.primaryIconTheme.copyWith(color: Colors.grey),
primaryColorBrightness: Brightness.light,
primaryTextTheme: theme.textTheme,
);
}
是不是只能修改这 4 中样式啊?我尝试了修改其他的样式,发现均无效。
怎么修改默认的提示文字?默认的提示文字一直是 Search,跪求大佬帮忙解答下!不胜感激!