【发布时间】:2018-05-08 17:47:12
【问题描述】:
我已经在 AppBar 的构造函数中覆盖了titleSpacing。但标题空间没有区别。
new AppBar(
backgroundColor: Colors.amber,
title: new Text("Flying Dutchman",
style: new TextStyle(
color: const Color(0xFF444444),
fontSize: 30.0,
fontWeight: FontWeight.w900,
),
),
titleSpacing: 0.00,
centerTitle: true,
elevation: 0.0,
)
我希望减少应用栏标题的顶部空间。
【问题讨论】: