extended_image 9.0.5 extended_image: ^9.0.5 copied to clipboard
Official extension image, support placeholder(loading)/ failed state, cache network, zoom/pan, photo view, slide out page, editor(crop,rotate,flip), painting etc.
9.0.5 #
- Fix issue about worng scale for crop rect when scale is more than max scale
9.0.4 #
- Public [ImageEditorController.currentIndex],[ImageEditorController.history],[ImageEditorController.saveCurrentState]
- Scale the crop rect if the image can't be scaled(max scale) when rotate the image.
9.0.3 #
- Breaking change: update the term 'angle' to 'degree'.
9.0.2 #
- Update eidtor crop rect when srceen size is changed.
9.0.1 #
- Take care about web platform, update eidtor layer size when srceen size is changed.
- Make the list can be scrolled on web platform.
9.0.0 #
-
Feature:
- support to change free angle rotation on editor mode.
- support to control whether the cropping box follows rotation on editor mode.
- support flip and rotate animation on editor mode.
- support undo and redo on editor mode.
- support update cropAspectRatio without reset state on editor mode.
- add [ImageEditorController] for [EditorConfig] to control the editor state.
-
Issues:
- Fix issue about free angle rotation. (#702, #627, #78, #441)
- Fix issue about control whether the cropping box also rotate follows the rotation. (#691, #277)
- Fix issue about flip animation. (#397)
- Fix issue about crop rect gets invalid randomly on zooming in and out. (#548)
- Fix issue about undo and redo. (#553)
-
Breaking change:
- EditorCropLayerPainter.paintMask method the [Size] argument to [Rect].
- Remove flipX support.
- Change the cropping process, now they are rotate, flipY and getCropRect.
8.3.1 #
- Fix issue that unsmooth zooming when using ExtendedImageGesturePageView (#631)
- Add [ExtendedImageGesturePageView.shouldAccpetHorizontalOrVerticalDrag] to custum whether should accpet horizontal or vertical drag at that time.
8.3.0 #
-
Add [imageGestureState] parameter for ImageBuilderForGesture call back, add [wrapGestureWidget] method for [ExtendedImageGestureState] and add [GestureWidgetDelegate]. All of them are using to build a custom gesture widget when the image is in ExtendedImageMode.gesture mode.
-
Add Live Photo Demo to show how to use the new feature.
8.2.4 #
- Fix issue that pageSpacing not work as expected after flutter 3.22.0 (#692)
8.2.3 #
- fix _DragGestureRecognizer build error after https://github.com/flutter/flutter/pull/151627
8.2.2 #
- Fix issue that pageSpacing not work as expected after flutter 3.22.0 (#692)
8.2.1 #
- dart fix
8.2.0 #
- Migrate to 3.16.0
8.1.1 #
- Fix issue with onDragEnd
8.1.0 #
- Migrate to 3.13.0
- Breaking change: remove preloadPagesCount of ExtendedImageGesturePageView. The cacheExtent of Viewport should be 0.
- Add demo to instead of preloadPagesCount of ExtendedImageGesturePageView
8.0.2 #
- [EditorCropLayerPainter.paintMask] not use BlendMode.clear now, due to '--web-renderer html' is not support.
8.0.1 #
- Dart sdk: '>=2.18.0 <4.0.0'
8.0.0 #
- Migrate to Flutter 3.10.0 and Dart 3.0.0 (#557,#563,#570,#572,#573)
- Cherry Pick https://github.com/flutter/flutter/pull/110131
- Cherry Pick https://github.com/flutter/flutter/pull/119495
7.0.2 #
- publish v6.4.1 for flutter 3.3.0 and v6.2.2 for flutter 3.0.5
7.0.1 #
- update judging condition of delta(minGesturePageDelta) at it's sliding page when set ExtendedImageMode.gesture
7.0.0 #
- Migrate to 3.7.0 (#545)
6.4.1 #
- latest code on Flutter 3.3.0
6.4.0 #
- add [ExtendedImage.globalStateWidgetBuilder] to support to override State Widget if loadStateChanged is not define.(#541)
6.3.4 #
- add preloadPagesCount for ExtendedImageGesturePageView
6.3.3 #
- draw editor with BlendMode.clear.
6.3.2 #
- support to set insets for paint image at the beginning.(#417)
- merge code from official (#515)
6.3.1 #
- fix issue that rebuild viewportDimension is not right when pageSpacing is not zero(ExtendedImageGesturePageView #516)
6.3.0 #
- Migrate to 3.3.0
6.2.2 #
- latest code on Flutter 3.0.5
6.2.1 #
- Add DeviceGestureSettings for ExtendedVerticalDragGestureRecognizer and ExtendedHorizontalDragGestureRecognizer.(#482,#483)
6.2.0 #
- Migrate to 3.0.0
6.1.0 #
- override == and hashCode for ExtendedResizeImage
- fix issue that ExtendedResizeImage can't get rawImageData(#477)
- ExtendedResizeImage.maxBytes is actual bytes of Image, not decode bytes.
- fix issue that max scale look bigger after zoom in and zoom out (#476)
6.0.3 #
- Improve: add [EditorConfig.initialCropAspectRatio] to support to set initial CropAspectRatio(#462 It's good for that you can set initial CropAspectRatio at first time and set CropAspectRatio to custom, so that the users can change CropAspectRatio as they want).
6.0.2+1 #
- Issues:
- Hide
FileImage
fromextended_image_library
explicitly.
- Hide
6.0.2 #
- Issues:
- Remove the deprecated constructor for the
ExtendedVelocityTracker
. (#460) - Hide
File
fromextended_image_library
explicitly.
- Remove the deprecated constructor for the
6.0.1 #
- Issues: Fix VelocityTracker is not type ExtendedVelocityTracker
6.0.0 #
- Breaking change: Migrate to 2.8
5.1.3 #
- Issues:
- fix issue that solve gesture conflict between MovePage and vertical pan.
5.1.2 #
- Issues:
- fix issue that mouse wheel/double tap are not working.(#404)
5.1.1 #
- Bumping flutter sdk minimum version to 2.5.0
5.1.0 #
- Improve: add [ExtendedPageController.shouldIgnorePointerWhenScrolling] to solve issue that we can's zoom image before [PageView] stop scroll in two way.
5.0.0 #
-
Improve:
- solve gesture conflict between Scale and Horizontal/Vertical drag.
- support to set page spacing. [ExtendedPageController.pageSpacing]
- add [ExtendedImage.opacity].
- fix that we can't zoom image before [PageView] stop scroll.
-
Breaking change:
- use [ExtendedPageController] instead of [PageController].
- use [ExtendedImageGesturePageView.canScrollPage] instead of [ExtendedImageGesturePageView.canMovePage].
4.2.1 #
- Improve:
- fix description of reverseMousePointerScrollDirection
4.2.0 #
- Issues:
- fix issue that inverse zoom by mouse wheel.(#382)
- fix issue that crop_layer with/height is negative
4.1.0 #
- Improve:
- add [ExtendedImage.network.cacheMaxAge] to set max age to be cached.
- update demo about hero, make it better when slide out.
4.0.1 #
- Issues:
- fix issue that we should end method with a call to super.dispose().(#329).
4.0.0 #
-
Breaking change:
- we cache raw image pixels as default behavior at previous versions, it's not good for heap memory usage. so add [ExtendedImageProvider.cacheRawData] to support whether should cache the raw image pixels. It's [false] now.
-
Improve:
- add [ExtendedResizeImage] to support resize image more convenient.
- add [ExtendedImageProvider.imageCacheName] to support custom ImageCache to store ExtendedImageProvider.
- add MemoryUsageDemo. #315
-
Issues:
- fix issue that [EditorConfig.editActionDetailsIsChanged] is not fire when change crop area. #317
3.0.0 #
-
Improve:
- support null-safety
- add [ExtendedNetworkImageProvider.printError]
- merge code from Flutter 2.0
-
Breaking change:
- remove [TransparentMaterialPageRoute] and [TransparentMaterialPageRoute]
2.0.0 #
-
Improve:
- add cacheKey for NetworkProvider. #288
- web capability at pub.dev.
- add change event for editor. #300
-
Breaking change:
- Use [EditorCropLayerPainter] instead of [ExtendedImageCropLayerCornerPainter]
1.6.0 #
-
Improve:
- public ExtendedImageSlidePageHandler for slide other widget. #298
1.5.0 #
-
Improve:
- public handleLoadingProgress for default constructor of ExtendedImage. #274
1.4.0 #
-
Improve:
- add hitTestBehavior for GestureConfig and EditorConfig. #271
1.3.0 #
- Features:
- support zoom with mouse wheel.
1.2.0 #
- Features:
- add posibility to draw custom crop layout corners
- add corner shape(ExtendedImageCropLayerPainterCircleCorner())
1.1.2 #
- Issues:
- fix issue that flickering when zooming out(#235).
1.1.1 #
- Issues:
- fix issue that slide offset is not right.
1.1.0 #
-
Features:
- add cacheHeight and cacheWidth params for all constructors.
- add isAntiAlias parameter.
- add GestureDetailsIsChanged call back for GestureConfig(#214).
-
Improve:
- more demo.
1.0.0 #
-
Improve:
-
merge from Defer image decoding when scrolling fast(https://github.com/flutter/flutter/pull/49389).
-
flutter sdk minimum version limit to 1.17.0.
-
0.9.0 #
- Features:
- add cacheHeight and cacheWidth params for ExtendedImage.network.
- add Key extendedImageGestureKey for ExtendedImageGesture.
0.8.0 #
- Features:
- add call back CanScrollPage for ExtendedImageGesturePageView.
0.7.4 #
- Issues:
- fix ScrollPhysics is not working for ExtendedImageGesturePageView
0.7.3+1 #
- Improve:
- remove docs from master branch and release web at github_page branch.
0.7.3 #
- Improve:
- fix build error on high flutter sdk(> 1.6.0)
- fix analysiz_options
0.7.2 #
- Features:
- support loading progress for network
- public HttpClient of ExtendedNetworkImageProvider
- public ExtendedImageGestureState for SlideOffsetHandler/SlideEndHandler/ SlideScaleHandler to get scale of image
0.7.1 #
- Improve:
- scale parameter of method(handleDoubleTap) is support animationMinScale and animationMaxScale now.
0.7.0 #
-
Features:
- support web.
- add [clearMemoryCacheWhenDispose] parameter that whether clear memory cache when image is disposed.
-
Issues:
- fix animationMinScale and animationMaxScale are not working for gif.
- fix scale parameter of method(handleDoubleTap) is beyond minScale and maxScale.
0.6.9 #
- Features:
- support customize offset when slide page.
0.6.8 #
- Issues:
- fix breaking change for flutter 1.10.15 about miss load parameter.
0.6.7 #
- Issues:
- fix issue that ExtendedImageGesturePageView didn't work well when set initial alignment.
0.6.6 #
- Features:
- support init image with alignment when initialScale >1.0.
- Issues:
- fix issue that scrollDirection didn't work when set it dynamically(ExtendedImageGesturePageView ).
- Improve:
- add WaterfallFlow demo.
0.6.5 #
- Features:
- add completedWidget for ExtendedImageState, it is include gesture or editor, so that you would't miss them
- Improve:
- improve documents about Load State
0.6.4 #
- Issues:
- fix issue that rawImageData can't be cached for ExtendedExactAssetImageProvider/ExtendedAssetImageProvider.
- Improve:
- add demo about ImageEditor with native library, it's faster.
0.6.3 #
- Issues:
- fix issue that forget canvas.restore after canvas.clipRect
- Breaking Change:
- ImageEditor:you should crop image data before flip or rotate image data now.
- Improve:
- increase cropping speed
0.6.2 #
- Features:
- add InitCropRectType(imageRect,layoutRect) for EditorConfig to define init crop rect base on initial image rect or image layout rect.
- Breaking Change:
- make sure the image is all painted to crop,the fit of image must be BoxFit.contain.
0.6.1 #
- Issues:
- fix issue about drag slowly in ImageEditor
0.6.0 #
- Issues:
- fix issue about strange behaviour at slide out page
0.5.9 #
- Issues:
- add HeroBuilderForSlidingPage call back to fix strange hero animation
0.5.8 #
- Features:
- support to crop,rotate,flip image
0.5.6 #
- Improve:
- add key for ExtendedImageSlidePage
0.5.5 #
- Features:
- add call back CanMovePage for ExtendedImageGesturePageView. related issue. #32
0.5.4 #
- Issues:
- fix issue about borderRadius and border
- fix demo error about extended_text
0.5.3 #
- Improve:
- merge codes base on v1.7.8
0.5.1 #
- Features:
- add call back onSlidingPage when is sliding page, you can change other widgets state in page.ExtendedImageSlidePage
- add enableSlideOutPage parameter to define whether enable slide out page. ExtendedImage
0.4.3 #
-
Breaking Change:
- parameter gestureConfig is obsolete. initGestureConfigHandler is used to setting GestureConfig now.
-
Issues:
- fix issue about slide page.
-
Features:
- support to slide page at loading/failed state
0.4.2 #
- Improve:
- add README-ZH.md
0.4.1 #
- Improve:
- add SlideType to support slide only image or whole pageExtendedImageSlidePage
0.4.0 #
- Features:
- support to slide out page
0.3.8 #
- Improve:
- update path_provider 1.1.0
0.3.6 #
- Improve:
- handle load failed when re-addListener
0.3.4 #
- Features:
- add physics parameter for ExtendedImageGesturePageView
0.3.3 #
- Improve:
- disabled informationCollector to keep backwards compatibility for now (ExtendedNetworkImageProvider)
0.3.2 #
- Improve:
- import extended_image_library for network cache
0.3.1 #
- Issues:
- fix issue that AnimationController.stop() called after AnimationController.dispose().
- Improve:
- show how to build a double tap scale animation.
0.2.9 #
- Improve:
- add handleDoubleTap method to support zoom image base on double tap position.
0.2.8 #
- Improve:
- add inertia scroll when image is zoom in and it's moving page.
0.2.7 #
- Issues:
- fix issue that wrong behavior of page view scroll when image has big width or big height.
0.2.6 #
- Issues:
- fix issue that wrong behavior of page view scroll when image is zoom in.
0.2.5 #
- Improve:
- add onDoubleTap parameter to custom double tap behavior under ExtendedImageMode.Gesture
0.2.3 #
- Features:
- add enableMemoryCache parameter, whether cache in PaintingBinding.instance.imageCache
- add clearMemoryCacheIfFailed parameter, when failed to load image, whether clear memory cache,if true, image will reload in next time.
- Breaking Change:
- auto cancel network request is obsolete.
0.2.2 #
- Improve:
- update path_provider version from 0.4.1 to 0.5.0+1
0.2.1 #
- Features:
- add cancelToken,retries,timeLimit and timeRetry parameters for ExtendedImage.network method
- add default cancelToken for ExtendedImage.network method
- Issues:
- fix issue about cancel network image request
- fix gesture page view scrolls not smooth
0.2.0 #
- Features:
- support zoom/pan image and view image in page view like wechat(support zoom in and scroll next or previous image)
0.1.8 #
- Breaking Change:
- remove image_picker_saver from extended_image. obsolete saveNetworkImageToPhoto method(if you want to save photo,you can import image_picker_saver and get data from getNetworkImageData method)
0.1.7 #
- Improve:
- public instantiateImageCodec method so that you can handle image data by override this in ExtendedNetworkImageProvider
0.1.6 #
- Improve:
- add getNetworkImageData method
0.1.5 #
- Improve:
- change toMd5 to keyToMd5
0.1.4 #
- Improve:
- public imageProvider for ExtendedImageState
0.1.3 #
- First Release:
- Release ExtendedImage.