尝试在 Web 浏览器中运行 Flutter 应用程序时出现错误。
以下是我在运行应用程序时得到的输出:
Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
../../../.pub-cache/hosted/pub.dartlang.org/wav
e-0.1.0/lib/config.dart:46:13: Error: Method not found: 'throwNullError'.
throwNullError('custom', 'colors` or `gradients');
^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dartlang.org/wave-0.1.0/lib/config.dart:60:13: Error: Method not found: 'throwNullError'.
throwNullError('custom', 'durations');
^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dartlang.org/wave-0.1.0/lib/config.dart:66:13: Error: Method not found: 'throwNullError'.
throwNullError('custom', 'heightPercentages');
^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.60.2/lib/src/platform_app_bar.dart:209:9: Error: No named parameter with the name 'actionsForegroundColor'.
actionsForegroundColor: data?.actionsForegroundColor,
^^^^^^^^^^^^^^^^^^^^^^
../../FlutterProjects/SDK/flutter/packages/flutter/lib/src/cupertino/nav_bar.dart:220:9: Context: Found this candidate, but the arguments don't match.
const CupertinoNavigationBar({
^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-0.60.2/lib/src/platform_app_bar.dart:229:7: Error: No named …Run Code Online (Sandbox Code Playgroud) 我想在我的应用程序中添加 firebase 实时数据库,但是当我为 Firebase.Xamarin 添加一个库时,它给出了类似的错误
严重性代码说明项目文件行抑制状态错误包 Firebase.Xamarin 0.3.6 与 monoandroid81 (MonoAndroid,Version=v8.1) 不兼容。包 Firebase.Xamarin 0.3.6 支持:net (.NETFramework,Version=v0.0) 0
我该如何解决这个错误,我试图更改应用程序的目标版本,但它不起作用。请帮我解决这个错误。