Upgrading photo_view 0.9 to 0.10
Breaking0.9.2 → 0.10.3Breaking1Deprecated1New3Fixed6Other1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- loadingChild options in both PhotoView and PhotoViewGallery in favor of loadingBuilder.
- loadFailedChild in favor of errorBuilder.
Must act 2 items need code or config changes
Flutter requirement changed in 0.10.0: >=1.5.9-pre.94 <2.0.0 → >=1.6.0 <2.0.0.
What you must change
Breaking1
loadingChild options in both PhotoView and PhotoViewGallery in favor of loadingBuilder.
loadingChildPhotoViewPhotoViewGalleryloadingBuilderDeprecations to plan for
Deprecated1
loadFailedChild in favor of errorBuilder.
loadFailedChilderrorBuilder