颤抖在溢出之前可以在AppBar中放置多少个项目

时间:2019-03-31 07:44:56

标签: dart flutter

问题:

我的actions中有AppBar,我想知道在AppBar溢出之前我可以安全地放多少物品。

屏幕截图:

enter image description here

代码:

appBar: AppBar(
  title: Text("Overflowing"),
  actions: <Widget>[
    IconButton(icon: Icon(Icons.call), onPressed: () {}),
    IconButton(icon: Icon(Icons.call_end), onPressed: () {}),
    IconButton(icon: Icon(Icons.call_made), onPressed: () {}),
    IconButton(icon: Icon(Icons.call_merge), onPressed: () {}),
    IconButton(icon: Icon(Icons.call_received), onPressed: () {}),
    IconButton(icon: Icon(Icons.call_missed), onPressed: () {}),
    IconButton(icon: Icon(Icons.call_missed_outgoing), onPressed: () {}),
    IconButton(icon: Icon(Icons.call_split), onPressed: () {}),
    IconButton(icon: Icon(Icons.clear_all), onPressed: () {}),
  ],
),

0 个答案:

没有答案