flutter_mycommunity_app icon indicating copy to clipboard operation
flutter_mycommunity_app copied to clipboard

运行iOS平台报错

Open wbbtcool opened this issue 1 year ago • 0 comments

平台iOS,flutter版本:2.10.3,运行flutter run 后,控制台输出如下报错:

    lib/page/index.dart:70:7: Error: No named parameter with the name 'context'.
          context: context,
          ^^^^^^^
    ../../work/diandu/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_screenutil-5.6.0/lib/src/screen_util.dart
    :92:23: Context: Found this candidate, but the arguments don't match.
      static Future<void> init(
                          ^^^^
    lib/util/animationpage_util.dart:366:18: Error: Superclass has no method named 'buildMyTransitions'.
        return super.buildMyTransitions(context, animation, secondaryAnimation, page);
                     ^^^^^^^^^^^^^^^^^^
    ../../work/diandu/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.24.0/lib/src/firebase_app.dart:18
    :25: Error: Member not found: 'FirebaseAppPlatform.verifyExtends'.
        FirebaseAppPlatform.verifyExtends(_delegate);
                            ^^^^^^^^^^^^^
    Failed to package /Users/wangbin/Downloads/flutter_mycommunity_app-master.
    Command PhaseScriptExecution failed with a nonzero exit code

wbbtcool avatar Nov 10 '22 09:11 wbbtcool