📜  颤振自定义后退按钮 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:50.733000             🧑  作者: Mango

代码示例2
appBar: AppBar(
  leading: IconButton(
    icon: Icon(Icons.arrow_back, color: Colors.black),
    onPressed: () => Navigator.of(context).pop(),
  ), 
  title: Text("Sample"),
  centerTitle: true,
),