我正在使用 flutter 中的平台通道(使用 Java)开发蓝牙应用程序。但是当我尝试使用 google-sign in( google_sign_in: ^4.5.6 ) 登录时,我收到错误。\n我可以登录详细信息,但无法移动到下一页......\n实际上,它在我的办公系统中工作,但是当我复制该项目并在另一个系统中运行时,它给出了错误......任何人都可以帮忙吗
\nmain.dart\nimport 'package:bmsapp2/pages/loginpage.dart';\nimport 'package:flutter/material.dart';\n\nvoid main() {\n runApp(BmsApp());\n}\n\nclass BmsApp extends StatelessWidget {\n @override\n Widget build(BuildContext context) {\n const curveHeight = 12.0;\n return MaterialApp(\n home: SafeArea(\n child: Scaffold(\n appBar: AppBar(\n backgroundColor: Colors.amber[900],\n shape: const MyShapeBorder(curveHeight),\n ),\n body: LoginPage(),\n ),\n ),\n );\n }\n}\n\nclass MyShapeBorder extends ContinuousRectangleBorder {\n const MyShapeBorder(this.curveHeight);\n final double curveHeight;\n\n @override\n Path getOuterPath(Rect rect, {TextDirection textDirection}) => Path()\n ..lineTo(0, rect.size.height)\n ..quadraticBezierTo(\n rect.size.width / 2,\n rect.size.height + curveHeight * 2,\n rect.size.width,\n rect.size.height,\n …Run Code Online (Sandbox Code Playgroud)