thesmythgroup / easy_image_viewer

An easy Flutter image viewer with pinch & zoom support.
MIT License
41 stars 51 forks source link

Revert breaking constructor change introduced in 1.3.0 #45

Closed jfahrenkrug closed 11 months ago

jfahrenkrug commented 11 months ago

Revert breaking constructor change introduced in 1.3.0. This changes the default EasyImageView constructor back to accepting an ImageProvider instead of a Widget. Constructing an EasyImageView with a widget can be done by using a new named constructor: EasyImageView.imageWidget.

Thank you to @wferem1 for reporting this.

Description

Todo

Checklist

Please ensure your pull request fulfills the following requirements:

Type

What kind of change does this pull request introduce?

[ ] Bug fix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[X] Other (please describe below)

Breaking Changes

Does this pull request introduce any breaking changes?

[ ] Yes
[X] No

Other Information

See description above.

jimjenkins5 commented 11 months ago

LGTM. Thanks for the quick turnaround @jfahrenkrug