Skip to content

Releases: bluefireteam/photo_view

0.0.6

18 Aug 21:25
Compare
Choose a tag to compare

Added

  • Support to Dart 2 #18, #21
  • Analyzer options for linting #16, #21
  • Documentation in pub dartdocs
  • heroTag arguments to PhotoView and PhotoViewInline constructors for usage along with Hero animations. #15, #19, #22
// screen1
...
Hero(
  tag: "someTag",
  child: Image.asset(
      "assets/large-image.jpg",
      width: 150.0
  ),
)

// screen2
...
child: PhotoView(
    imageProvider: AssetImage("assets/large-image.jpg"),
    heroTag: "someTag",
)

Fixed

  • Extraneous "Bad state Exception" #14

0.0.5

13 Aug 01:33
Compare
Choose a tag to compare

Added

  • PhotoViewInlineClass for inline usage (#11)
  • ScaleBoundaries multiplying capability:
minScale: PhotoViewScaleBoundary.contained * 0.8,
maxScale: PhotoViewScaleBoundary.covered * 1.1,

Fixed

0.0.4

04 Aug 16:58
Compare
Choose a tag to compare

Changed

  • Clamp scale options with boundary constants (#9)
  • Internal renames

Fixed

  • GIF support (#10)
  • When minScale is bigger than the computed scale of the PhotoViewScaleState.contained, an abrupt scale change is applied when user starts to pinch

0.0.3

19 Jul 00:28
Compare
Choose a tag to compare

Added

  • Background color option
  • Clamp scale options with animation