Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No named parameter with the name 'debugOwner'. #37

Open
dharmeshapptrait opened this issue Jun 24, 2021 · 1 comment
Open

Error: No named parameter with the name 'debugOwner'. #37

dharmeshapptrait opened this issue Jun 24, 2021 · 1 comment

Comments

@dharmeshapptrait
Copy link

/D:/flutter%20sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_reorderable_list-1.0.0/lib/flutter_reorderable_list.dart:764:27: Error: Expected 0 type arguments.
class _Recognizer extends MultiDragGestureRecognizer<_VerticalPointerState> {
^
/D:/flutter%20sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_reorderable_list-1.0.0/lib/flutter_reorderable_list.dart:134:12: Error: A value of type '_Recognizer' can't be returned from a function with return type 'MultiDragGestureRecognizer'.

  • '_Recognizer' is from 'package:flutter_reorderable_list/flutter_reorderable_list.dart' ('/D:/flutter%20sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_reorderable_list-1.0.0/lib/flutter_reorderable_list.dart').
  • 'MultiDragGestureRecognizer' is from 'package:flutter/src/gestures/multidrag.dart' ('/D:/flutter%20sdk/flutter/packages/flutter/lib/src/gestures/multidrag.dart').
    return _Recognizer(
    ^
    /D:/flutter%20sdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_reorderable_list-1.0.0/lib/flutter_reorderable_list.dart:768:14: Error: No named parameter with the name 'debugOwner'.
    }) : super(debugOwner: debugOwner, kind: kind);
    ^^^^^^^^^^

FAILURE: Build failed with an exception.

  • Where:
    Script 'D:\flutter sdk\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1052

Flutter version:
Flutter 2.3.0-17.0.pre.478 • channel master • https://github.com/flutter/flutter.git
Framework • revision 4ba8835d77 (50 minutes ago) • 2021-06-24 01:06:02 -0400
Engine • revision 570b825e28
Tools • Dart 2.14.0 (build 2.14.0-241.0.dev)

@proformance
Copy link

proformance commented Jul 9, 2021

I also get this error, can confirm that smocken78´s fix works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants