image_cropper2 2.0.7+1 image_cropper2: ^2.0.7+1 copied to clipboard
A Flutter plugin for Android, iOS and Web supports cropping images
[2.0.7+1] - 2022-08-04 #
- Fixed web integration
- Changed dialog button style on web
[2.0.7] - 2022-08-04 #
- Moved settings to platform interface for easier multiplatform implementation
- Synchronized version numbers between related libraries
[2.0.6+1] - 2022-07-08 #
- Fixed podspec for iOS
[2.0.6] - 2022-07-02 #
- Added
recoverImage
method
[2.0.3] - 2022-05-17 #
- correct importing JS library
[2.0.2] - 2022-05-06 #
- update document
[2.0.1] - 2022-05-05 #
- fix missing pubspec config on web
[2.0.0] - 2022-04-28 #
- Support Web
- BREAKING CHANGE:
- change result data type from
File
toCroppedFile
. - remove
androidUiSettings
andiosUiSettings
parameter incropImage
method, they are replaced byuiSettings
- change result data type from
MIGRATION GUIDE #
BEFORE
File croppedFile = await ImageCropper().cropImage(
sourcePath: imageFile.path,
androidUiSettings: AndroidUiSettings(
toolbarTitle: 'Cropper',
toolbarColor: Colors.deepOrange,
toolbarWidgetColor: Colors.white,
initAspectRatio: CropAspectRatioPreset.original,
lockAspectRatio: false),
iosUiSettings: IOSUiSettings(
minimumAspectRatio: 1.0,
)
);
AFTER
CroppedFile croppedFile = await ImageCropper().cropImage(
sourcePath: imageFile.path,
uiSettings: [
AndroidUiSettings(
toolbarTitle: 'Cropper',
toolbarColor: Colors.deepOrange,
toolbarWidgetColor: Colors.white,
initAspectRatio: CropAspectRatioPreset.original,
lockAspectRatio: false),
IOSUiSettings(
title: 'Cropper',
)
],
);
[2.0.0-beta.3] - 2022-04-01 #
- support rotate image on Web
[2.0.0-beta.2] - 2022-03-27 #
- correct missing README document about Web support.
[2.0.0-beta.1] - 2022-03-27 #
- BREAKING CHANGE: update result models to support web, replace
File
byCroppedFile
[2.0.0-beta] - 2022-02-19 #
- migrate to federated plugins
- BREAKING CHANGE: remove
androidUiSettings
andiosUiSettings
, they are replaced byuiSettings
for sake of supporting multiple platforms in future.
MIGRATION GUIDE #
BEFORE
File croppedFile = await ImageCropper().cropImage(
sourcePath: imageFile.path,
androidUiSettings: AndroidUiSettings(
toolbarTitle: 'Cropper',
toolbarColor: Colors.deepOrange,
toolbarWidgetColor: Colors.white,
initAspectRatio: CropAspectRatioPreset.original,
lockAspectRatio: false),
iosUiSettings: IOSUiSettings(
minimumAspectRatio: 1.0,
)
);
AFTER
File croppedFile = await ImageCropper().cropImage(
sourcePath: imageFile.path,
uiSettings: [
AndroidUiSettings(
toolbarTitle: 'Cropper',
toolbarColor: Colors.deepOrange,
toolbarWidgetColor: Colors.white,
initAspectRatio: CropAspectRatioPreset.original,
lockAspectRatio: false),
IOSUiSettings(
title: 'Cropper',
)
],
);
[1.5.1] - 2022-04-01 #
- update README to introduce Web support experiment
[1.5.0] - 2022-02-19 #
[1.4.1] - 2021-06-20 #
- Upgrade
uCrop
to v2.2.7
[1.4.0] - 2021-03-07 #
- Upgrade
TOCropViewController
to v2.6.0 - Migrate to nullsafety
[1.3.1] - 2020-08-31 #
- Upgrade
uCrop
to v2.2.6 - Fix bug: image compress file format (png)
[1.3.0] - 2020-08-09 #
- Update
pubspec
to new format - Upgrade
TOCropViewController
to v2.5.4
[1.2.3] - 2020-06-08 #
- Android: fix bug
[1.2.2] - 2020-05-12 #
- Android: upgrade uCrop to v2.2.5
- BREAKING CHANGE: remove
activeWidgetColor
fromAndroidUiSettings
[1.2.1] - 2020-02-01 #
- iOS: add more UI customization properties (title, initRect)
- update Flutter version constraint (>= v1.12.13)
[1.2.0] - 2020-01-19 #
- Android: migrate to embedding v2
[1.1.2] - 2019-12-18 #
- Android: fix bug crashing on Flutter v1.12.13
[1.1.1] - 2019-11-30 #
- Android: upgrade gradle version
- iOS: remove
static_framework
Pod configuration, upgradeTOCropViewController
to 2.5.2
[1.1.0] - 2019-09-29 #
- BIG UPDATES: supports UI customization on both of Android and iOS, supports more image compress format and quality.
- BREAKING CHANGE:
ratioX
andratioY
are replaced byaspectRatio
,circleShape
is replaced bycropStyle
, removedtoolbarTitle
andtoolbarColor
(these properties are moved intoAndroidUiSettings
) - iOS: upgrade native library (TOCropViewController v2.5.1)
- Android: upgrade native library (uCrop v2.2.4)
[1.0.2] - 2019-05-25 #
- iOS: upgrade native library
- Android: fix bug #40
[1.0.1] - 2019-04-15 #
- Android: migrate to AndroidX
- upgrade native libraries
[1.0.0] - 2019-02-09 #
- Android: remove deprecated support libraries
- Android: target version to 28
[0.0.9] - 2018-11-14 #
- clarify code document
[0.0.8] - 2018-10-12 #
- set default value for
circleShape
[0.0.7] - 2018-10-10 #
- support circular cropping
[0.0.6] - 2018-08-29 #
- upgrade
TOCropViewController
dependency to v2.3.8
[0.0.5] - 2018-08-10 #
- re-config to support Dart2
- fix bug: lock aspect ratio
[0.0.4] - 2018-07-06 #
- refactor: change
toolbarColor
type ofint
toColor
[0.0.3] - 2018-07-05 #
- fix bug: increasing image size after cropping
- add new feature:
toolbarTitle
andtoolbarColor
to customize title and color of copperActivity
[0.0.2] - 2018-06-28 #
- clarify document
[0.0.1] - 2018-06-27 #
- initial release.