如何在操作栏上有两个搜索栏?

How to have two search bar on action bar?

实现如下图所示的正确方法是什么?

我在 appBar 中添加了列和行,但是得到了这个

 @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: PreferredSize(
      preferredSize: Size.fromHeight(150.0),
      child: AppBar(
          title: Column(
        children: <Widget>[
          Row(children: <Widget>[Icon(Icons.access_alarm), Text("idwidjow")]),
          SizedBox(
            height: 20,
          ),
          Row(
            children: <Widget>[Icon(Icons.access_alarm), Text("idwidjow")],
          )
        ],
      )),
    ));
  }

尝试这样的事情怎么样...不过你必须完成设计

appBar: PreferredSize(
    preferredSize: Size.fromHeight(150.0),
    child: AppBar(
      flexibleSpace: Column(
        children: <Widget>[
          Row(
            children: <Widget>[
              Container(
                child: Icon(Icons.arrow_back),
                width: 50,
              ),
              Icon(Icons.person),
              Flexible(
                  child: TextField(
                      decoration: InputDecoration(
                border: OutlineInputBorder(
                  borderRadius: BorderRadius.all(Radius.circular(12.0)),
                ),
              ))),
              Icon(Icons.arrow_back)
            ],
          ),
          Row(
            children: <Widget>[
              SizedBox(width: 50),
              Icon(Icons.person),
              Flexible(
                  child: TextField(
                decoration: InputDecoration(
                  border: OutlineInputBorder(
                    borderRadius: BorderRadius.all(Radius.circular(12.0)),
                  ),
                ),
              )),
              Icon(Icons.arrow_back)
            ],
          )
        ],
      ),
    ),
  )

输出