skip to Main Content
: Error: No named parameter with the name 'kind'.
photo_view_gesture_detector.dart:89
  }) : super(debugOwner: debugOwner, kind: kind);
                                     ^^^^
Failed to compile application.

Can anyone help with the solution for resolving this error?

2

Answers


  1. I added

    photo_view: ^0.14.0
    

    on my pubspec.yaml.
    This fixed the issue for me-

    Login or Signup to reply.
  2. You must update your project after you have updated your Flutter SDK.

    Execute the command below to identify the out-of-date packages:

    flutter pub outdated
    

    After, you may execute this command:

    flutter pub upgrade
    

    or

    flutter pub upgrade --major-versions
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search