最佳答案
也许是这样的
AppBar(
bottom: PreferredSize(
preferredSize: const Size.fromHeight(4.0)),
child: Container(
color: Colors.orange,
height: 4.0,
),
)
关于dart - 如何在 Flutter 中创建带有底部彩色边框的 AppBar?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53393267/