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: The method 'UnmodifiableUint8ListView' isn't defined for the class 'PickedFile'. #36

Open
rutherfordlabs opened this issue Sep 26, 2024 · 0 comments

Comments

@rutherfordlabs
Copy link

I just cloned the repo and got the following error:

../../../.pub-cache/hosted/pub.dev/image_picker_platform_interface-2.4.1/lib/src/types/pic
ked_file/html.dart:29:27: Error: The method 'UnmodifiableUint8ListView' isn't defined for
the class 'PickedFile'.

  • 'PickedFile' is from
    'package:image_picker_platform_interface/src/types/picked_file/html.dart'
    ('../../../.pub-cache/hosted/pub.dev/image_picker_platform_interface-2.4.1/lib/src/types/
    picked_file/html.dart').
    Try correcting the name to the name of an existing method, or defining a method named
    'UnmodifiableUint8ListView'.
    return Future.value(UnmodifiableUint8ListView(_initBytes!));

    Here is my version info:

    ~$ flutter --version
    Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
    Framework • revision 2663184aa7 (2 weeks ago) • 2024-09-11 16:27:48 -0500
    Engine • revision 36335019a8
    Tools • Dart 3.5.3 • DevTools 2.37.3

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