return Scaffold( appBar: AppBar( leading: new IconButton( icon: new Icon(Icons.arrow_back_ios), onPressed: () => { Navigator.of(context).pop('刷新') }, ), title: Text('标题'), centerTitle: true, ), body: Container(), );
确定删除《flutter 自定义appbar中的返回按钮》吗
暂无评论
2023-11-13
2023-12-12
2023-12-11