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

Not able to use in Web platform #36

Open
adrian007n opened this issue Jun 16, 2021 · 0 comments
Open

Not able to use in Web platform #36

adrian007n opened this issue Jun 16, 2021 · 0 comments

Comments

@adrian007n
Copy link

adrian007n commented Jun 16, 2021

I've updated my flutter version to latest and run in web platform.
But I'm getting the following error.

/Users/superflutter/Documents/FlutterSDK/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> {
                          ^
/Users/superflutter/Documents/FlutterSDK/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' ('/Users/superflutter/Documents/FlutterSDK/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' ('/Users/superflutter/Documents/FlutterSDK/flutter/packages/flutter/lib/src/gestures/multidrag.dart').
    return _Recognizer(
           ^
/Users/superflutter/Documents/FlutterSDK/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);
             ^^^^^^^^^^
/Users/superflutter/Documents/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/photo_view-0.11.1/lib/src/core/photo_view_gesture_detector.dart:106:29: Error: The argument type 'PointerEvent' can't be assigned to the parameter type 'PointerDownEvent'.
 - 'PointerEvent' is from 'package:flutter/src/gestures/events.dart' ('/Users/superflutter/Documents/FlutterSDK/flutter/packages/flutter/lib/src/gestures/events.dart').
 - 'PointerDownEvent' is from 'package:flutter/src/gestures/events.dart' ('/Users/superflutter/Documents/FlutterSDK/flutter/packages/flutter/lib/src/gestures/events.dart').
    super.addAllowedPointer(event);
                            ^

My Flutter version is

[✓] Flutter (Channel master, 2.3.0-17.0.pre.381, on Mac OS X 10.15.7 19H524 darwin-x64, locale en)
    • Flutter version 2.3.0-17.0.pre.381 at /Users/superflutter/Documents/FlutterSDK/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d7c943a6f1 (64 minutes ago), 2021-06-16 16:44:03 -0400
    • Engine revision df3aa14215
    • Dart version 2.14.0 (build 2.14.0-216.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.57.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

Could you please fix this issue?
Thanks for your nice help.

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

1 participant