We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I try to pick pdf from application storage and convert it into bytes as : var bytes = File().readAsBytesSync().buffer.asUint8List();
And use this bytes in the thumbnail generation as: Thumbnail( dataResolver: () async { return bytes; }, mimeType: application/pdf, widgetSize: 100, )
It's not creating thumbnails for pdf.
Any help would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered:
Hello, this should work. Maybe there is problem with that particular file?
Sorry, something went wrong.
No branches or pull requests
When I try to pick pdf from application storage and convert it into bytes as :
var bytes = File().readAsBytesSync().buffer.asUint8List();
And use this bytes in the thumbnail generation as:
Thumbnail(
dataResolver: () async {
return bytes;
},
mimeType: application/pdf,
widgetSize: 100,
)
It's not creating thumbnails for pdf.
Any help would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: