- Added German localization (thanks @jkoenig134)!
- Updated to
package:web
version1.0.0
.
- Fixed a bug where animated images would trigger a lot of exceptions in
obtainImage
. Now, the cropper will just display a static image if the image is animated. - Updated localization guide in README.md (thanks @Cellaryllis)
- Added Chinese localization (thanks @yohom and @zhushenwudi)
- Added Spanish localization (thanks @Thesergiolg99)
- Added Hebrew localization (thanks @kfiross)
- Fixed a bug where the reset button would ignore any aspect ratio constraints (thanks @talamaska)
- Added WASM support and Flutter 3.22 (thanks @raldhafiri)
- Updated dependencies and added Gradle namespace (thanks @orkun1675)
- Add support for passing custom themes to the croppers instead of the default generated one, and fixed some more reset issues.
- Added Portuguese localization (thanks @JCKodel)
- Added documentation on how to save a cropped image to a file
- Added Vietnamese localization (thanks @ptanhVNU)
- Croppy shouldn't fail when being launched with unsupported locales. Now it will default to English.
- Added Arabic localization (thanks @Milad-Akarie)
- Added localization! Currently supports English, Kazakh, and Russian.
- Added documentation on how to add your own localization, or override an existing one.
- Loosened the constraint to
3.13.0-0.3.pre
to pass Pub analysis
- Major breaking version. Updated to support Flutter 3.13.
- Fix: Disallow tapping the "Done" button twice. This could trigger some weird behavior if you're using custom asynchronous operations when the cropper is cropping images.
- Fix: Rotating an image with a forced aspect ratio inverts the aspect ratio (#7). Thanks @maRci002 and @siranov for the bug reports!
- Hotfix: Cupertino cropper's
TransformationFrictionMixin
was not respecting fixed aspect ratios
- You can now create your own custom croppers easily! Check out the documentation and the example app for more info.
- Added documentation
- Added
shouldPopAfterCrop
- Accidentally dropped support for Web because of FFI - fixed.
- Added a Material image cropper
- FFI-based implementation for normalization of the image crop rect
- Performance improvements and bugfixes
- Added custom shapes
- Added allowed aspect ratios
- Added supported transformations list
- Minor design tweaks
- Better image cropping algorithm (now uses Flutter's Canvas instead of a barebones bilinear interpolation)
- Bugfixes
- Updated the example app
- Performance improvements to the Cupertino cropper
- Minor design tweaks
- Added an example webapp
- Implemented a new UI for the Cupertino cropper
- Added
heroTag
parameters - if passed, the cropper will be animated with a Hero animation
- Fixed images not linking properly in README
- Initial release!