appbar中的图像在标题和开头之间波动

问题描述 投票:0回答:1

嗨!是否可以将Image和Image放在标题和Title之间的应用栏中?还是仅将图像放在“标题”的左侧和右侧?

image flutter appbar
1个回答
0
投票

我已经以某种方式使它起作用:

appBar: AppBar(

        title: Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: <Widget>[
            Icon(Icons.ac_unit),
            Icon(Icons.access_alarm)
          ],
        )
      ),

您可以使用图像来更改它。

© www.soinside.com 2019 - 2024. All rights reserved.