Skip to content

Conversation

@domliang
Copy link
Contributor

@domliang domliang commented Apr 1, 2021

add thumbnail cache when get null use cache

List<Uint8List> _byteList = [];

// the cache of last thumbnail
Uint8List _lastBytes;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be Uint8List? _lastBytes;; note the ?. Generates an error in null safety otherwise since not declared.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will change it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its update in this pr #115

@jonasN5
Copy link
Contributor

jonasN5 commented May 31, 2021

This fixes #95 and #94 and related. The issue still exists so this commit should be merged. However, make sure apply the suggested change.

@sbis04
Copy link
Owner

sbis04 commented Jul 1, 2021

Closing this. I have merged the null safety version of this.

@sbis04 sbis04 closed this Jul 1, 2021
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 this pull request may close these issues.

3 participants