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: 'Uint8List' is restricted and can't be extended or implemented. #61

Closed
GSri30 opened this issue Sep 7, 2021 · 1 comment · Fixed by #62
Closed

Error: 'Uint8List' is restricted and can't be extended or implemented. #61

GSri30 opened this issue Sep 7, 2021 · 1 comment · Fixed by #62

Comments

@GSri30
Copy link

GSri30 commented Sep 7, 2021

I'm getting the following error while trying this :

../../../.pub-cache/hosted/pub.dartlang.org/pinenacl-0.2.1/lib/api/api.dart:24:7: Error: 'Uint8List' is restricted and can't be extended or implemented.
class ByteList with ListMixin<int>, Encodable implements Uint8List {
      ^

flutter doctor :

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 2.5.0-5.2.pre, on Ubuntu 20.04.3 LTS 5.4.0-81-generic,
    locale en_GB.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.60.0)
[✓] Connected device (2 available)

• No issues found!

Possible suspect : breaking change in pinenacl-dart due to breaking change in dart-sdk

@kaderate
Copy link
Contributor

kaderate commented Oct 7, 2021

Thank you @GSri30. We will merge your PR today and release a new version of the library.

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

Successfully merging a pull request may close this issue.

2 participants