AppBar(
actions: [
Icon(Icons.more_vert),
],
),
Flutter AppBar 操作图标
让我们再向列表中添加一个小部件:
AppBar...AppBar(
backgroundColor: Colors.deepOrange[500],
),
图标主题
下面的代码将图标的颜色更改为绿色,将大小更改为36:
AppBar(
actionsIconTheme...工具栏包含文字,图标,按钮,和其他任何公司的前景,除了小部件,如Container和Image。...this.backgroundColor,//AppBar背景色
this.brightness,//AppBar亮度 有黑白两种主题
this.iconTheme,//AppBar上图标的样式...this.actionsIconTheme,//AppBar上actions图标的样式
this.textTheme,//AppBar上文本样式
this.primary =