我想使用 theme
将我应用中的所有标题居中
,有办法吗?
最佳答案
使用主题居中应用栏
theme: ThemeData(
appBarTheme: AppBarTheme(centerTitle: true),),
关于flutter - 如何将带有主题 [FLUTTER] 的 AppBar 的标题居中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63119512/