- Add
progressIndicator
parameter to pass a Widget indicating progress. - Updated versions of dependencies.
- Enhanced zooming / panning behavior
- Add
initialAreaBuilder
parameter to configure inital cropping area based on viewport ofCrop
. - Add
radius
parameter to configure corner radius of cropping area. - Control image scale not to be smaller than cropping area.
- Calculate initial scale to cover cropping area.
- Fix bug image could't be bigger than certain scale.
- Add experimental feature of moving and zooming images.
- setting
interactive: true
enables the feature.
- setting
- Add
fixArea
flag to fix cropping area.
- Fix static analysis issues.
- Braking Change: The second argument of
cornerDotBuilder
is now enum ofEdgeAlignment
, not meaningful index. - Add callback for
CropStatus
. - Enhancement of not to block UI when loading image data.
- Fix a bug that calcuration of cropping area is wrong when Exif has orientation data.
- Update Readme
- Fix problems of static analysis.
- Update Readme
- Update Readme
- Remove unused code
- Enable to set initial cropping area with
initialArea
property.
- Enable to configure corner Dots with whatever Widget.
- Enable to configure cropping mask colors and base colors.
- Enable to change original image via
CropController
- Add callback when cropping area moves.
- Enable to control cropping area programmatically via
CropController
- Fix bug that wrong cropping area is calculated when image is smaller than display.
- Add example project in
example
directory.
- Fix a bug of wrong cropping rect when vertically longer image is set.
- Make the size of dots smaller.
- Rename
isCircle
flag intowithCircleUi
. This flag no more affects the result of the shape of cropped images. - Add
CropController.cropCircle
method so that images are cropped with circle shape.
- Enable to pass
isCircle
property to crop with circle shape. This flag can also be changed viaCropController
.
- Enable to change
aspectRatio
dynamically viaCropController
. - Enable to set
initialSize
viaCrop
constructor.
- Bug fixed. and improve performance.
- Fix not to block UI update when cropping image.
- Enable to fix aspect ratio if
aspectRatio
property is given.
- Fix README.md
- prevent Dot controls from exceeding thier horizontal / vertical limits.
- change the type of
image
parameters toUInt8List
. - return cropped data via
onCropped
callback. - now Crop Widget is available at any place and any size.
- Enable controling crop actions via CropController.
- Rename classes.
- Add first implementation of crop_your_image.
- Update information about this package.