flutter 取消 返回按钮
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
automaticallyImplyLeading: false, //here
title: Text('Never gonna run around and desert you'),
),
body: Center(
child: Column(
children: [
Text('Never gonna make you cry'),
],
),
),
);
}
}