Upgrading image_cropper 0.0 to 1
Unknown0.0.9 → 1.5.1
Fetching 16 releases from GitHub…0 / 16
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Dart SDK requirement changed in 1.4.0: >=1.20.1 <3.0.0 → >=2.12.0-0 <3.0.0.
Requires Flutter >=1.12.13+hotfix.5 from 1.4.0 (none stated before).
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- changed:
static method ImageCropper.cropImage({ @required String sourcePath, double ratioX, double ratioY, int maxWidth, int maxHeight, String toolbarTitle, Color toolbarColor, bool circleShape = …, }): Future<File> → method ImageCropper.cropImage({ required String sourcePath, int? maxWidth, int? maxHeight, CropAspectRatio? aspectRatio, List<CropAspectRatioPreset> aspectRatioPresets = …, CropStyle cropStyle = …, ImageCompressFormat compressFormat = …, int compressQuality = …, AndroidUiSettings? androidUiSettings, IOSUiSettings? iosUiSettings, }): Future<File?> - added:
class AndroidUiSettings - added:
class CropAspectRatio - added:
class IOSUiSettings - added:
ctor AndroidUiSettings( {this.toolbarTitle, this.toolbarColor, this.statusBarColor, this.toolbarWidgetColor, this.backgroundColor, this.activeControlsWidgetColor, this.dimmedLayerColor, this.cropFrameColor, this.cropGridColor, this.cropFrameStrokeWidth, this.cropGridRowCount, this.cropGridColumnCount, this.cropGridStrokeWidth, this.showCropGrid, this.lockAspectRatio, this.hideBottomControls, this… - added:
ctor CropAspectRatio({required this.ratioX, required this.ratioY}) - added:
ctor IOSUiSettings({ this.minimumAspectRatio, this.rectX, this.rectY, this.rectWidth, this.rectHeight, this.showActivitySheetOnDone, this.showCancelConfirmationDialog = …, this.rotateClockwiseButtonHidden = …, this.hidesNavigationBar, this.rotateButtonsHidden = …, this.resetButtonHidden = …, this.aspectRatioPickerButtonHidden = …, this.resetAspectRatioEnabled = …, this.aspectRatioLockDimensionSwa… - added:
enum CropAspectRatioPreset - added:
enum CropStyle - added:
enum ImageCompressFormat - added:
field AndroidUiSettings.activeControlsWidgetColor: final Color? - added:
field AndroidUiSettings.backgroundColor: final Color? - added:
field AndroidUiSettings.cropFrameColor: final Color? - added:
field AndroidUiSettings.cropFrameStrokeWidth: final int? - added:
field AndroidUiSettings.cropGridColor: final Color? - added:
field AndroidUiSettings.cropGridColumnCount: final int? - added:
field AndroidUiSettings.cropGridRowCount: final int? - added:
field AndroidUiSettings.cropGridStrokeWidth: final int? - added:
field AndroidUiSettings.dimmedLayerColor: final Color? - added:
field AndroidUiSettings.hideBottomControls: final bool? - added:
field AndroidUiSettings.initAspectRatio: final CropAspectRatioPreset? - added:
field AndroidUiSettings.lockAspectRatio: final bool? - added:
field AndroidUiSettings.showCropGrid: final bool? - added:
field AndroidUiSettings.statusBarColor: final Color? - added:
field AndroidUiSettings.toolbarColor: final Color? - added:
field AndroidUiSettings.toolbarTitle: final String? - added:
field AndroidUiSettings.toolbarWidgetColor: final Color? - added:
field CropAspectRatio.ratioX: final double - added:
field CropAspectRatio.ratioY: final double - added:
field IOSUiSettings.aspectRatioLockDimensionSwapEnabled: final bool - added:
field IOSUiSettings.aspectRatioLockEnabled: final bool - added:
field IOSUiSettings.aspectRatioPickerButtonHidden: final bool - added:
field IOSUiSettings.cancelButtonTitle: final String? - added:
field IOSUiSettings.doneButtonTitle: final String? - added:
field IOSUiSettings.hidesNavigationBar: final bool? - added:
field IOSUiSettings.minimumAspectRatio: final double? - added:
field IOSUiSettings.rectHeight: final double? - added:
field IOSUiSettings.rectWidth: final double? - added:
field IOSUiSettings.rectX: final double? - added:
field IOSUiSettings.rectY: final double? - added:
field IOSUiSettings.resetAspectRatioEnabled: final bool - added:
field IOSUiSettings.resetButtonHidden: final bool - added:
field IOSUiSettings.rotateButtonsHidden: final bool - added:
field IOSUiSettings.rotateClockwiseButtonHidden: final bool - added:
field IOSUiSettings.showActivitySheetOnDone: final bool? - added:
field IOSUiSettings.showCancelConfirmationDialog: final bool - added:
field IOSUiSettings.title: final String? - added:
function aspectRatioPresetName(CropAspectRatioPreset? preset): String - added:
function compressFormatName(ImageCompressFormat format): String - added:
function cropStyleName(CropStyle style): String - added:
get CropAspectRatio.hashCode: int - added:
member CropAspectRatioPreset.original - added:
member CropAspectRatioPreset.ratio16x9 - added:
member CropAspectRatioPreset.ratio3x2 - added:
member CropAspectRatioPreset.ratio4x3 - added:
member CropAspectRatioPreset.ratio5x3 - added:
member CropAspectRatioPreset.ratio5x4 - added:
member CropAspectRatioPreset.ratio7x5 - added:
member CropAspectRatioPreset.square - added:
member CropStyle.circle - added:
member CropStyle.rectangle - added:
member ImageCompressFormat.jpg - added:
member ImageCompressFormat.png - added:
method AndroidUiSettings.toMap(): Map<String, dynamic> - added:
method CropAspectRatio.operator ==(other): bool - added:
method IOSUiSettings.toMap(): Map<String, dynamic>