Skip to content

Add 'key' parameter to GIFImage#19

Open
ikrsk wants to merge 1 commit intopeng8350:masterfrom
ikrsk:add-key
Open

Add 'key' parameter to GIFImage#19
ikrsk wants to merge 1 commit intopeng8350:masterfrom
ikrsk:add-key

Conversation

@ikrsk
Copy link
Copy Markdown

@ikrsk ikrsk commented May 12, 2021

Key key was missing in the constructor for super class. Also made the constructor const because all the properties are final. I came across a use case where I needed the height of the image in some other widget. This requires to pass a GlobalKey to the image.

Also, thanks for creating this package!

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.

1 participant