Skip to content

Upgrading photo_view 0.9 to 0.10

Breaking0.9.2 → 0.10.3Breaking1Deprecated1New3Fixed6Other1

BreakingUpgrade verdict

1 breaking change.

  • loadingChild options in both PhotoView and PhotoViewGallery in favor of loadingBuilder.
  • loadFailedChild in favor of errorBuilder.
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.

Breaking1
loadingChild options in both PhotoView and PhotoViewGallery in favor of loadingBuilder.
loadingChildPhotoViewPhotoViewGalleryloadingBuilder
Deprecated1
loadFailedChild in favor of errorBuilder.
loadFailedChilderrorBuilder