
您无法执行此 *** 作,因为它是预定义的小部件。但是,您可以这样做:
appBar: AppBar( automaticallyImplyLeading: false, // Don't show the leading button title: Row( mainAxisAlignment: MainAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.center, children: <Widget>[ IconButton( onPressed: () => Navigator.pop(context), icon: Icon(Icons.arrow_back, color: Colors.white), ), // Your widgets here ], ),),
当
automaticallyImplyLeading: true皮领先的
IconButton,所以你可以添加自己的小部件。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)