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' isn't a type. #100

Open
Nike3651 opened this issue Sep 13, 2023 · 2 comments
Open

Error: 'Uint8List' isn't a type. #100

Nike3651 opened this issue Sep 13, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Nike3651
Copy link

SDK Flutter 2.10.5
SDK Dart 2.16.2

I have this problem when trying to run the application.
Uint8List' isn't a type
copy_pdf_from_asset_to_storge.dart:22:13: Error: 'Uint8List' isn't a type.
final Uint8List bytes = data.buffer.asUint8List();
^^^^^^^^^

@Nike3651 Nike3651 added the bug Something isn't working label Sep 13, 2023
@zouqunli
Copy link

zouqunli commented Jan 4, 2024

I also encountered this bug, but this version 0.4.1 can be used.
I found that this import is missing in the file of version 0.4.2.In this file, “copy_pdf_from_asset_to_storge.dart”
image

@zouqunli
Copy link

zouqunli commented Jan 4, 2024

I hope the author can deal with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants