flutter 一行代码取消 返回按钮

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'),
          ],
        ),
      ),
    );
  }
}
上一篇:精通Dubbo——Dubbo支持的协议的详解


下一篇:Flutter 如何调用Android和iOS原生代码