Skip to content

Upgrading image_cropper 1 to 2

Unknown1.5.1 → 2.0.3

Fetching 8 releases from GitHub…0 / 8
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • 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.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Adds image_cropper_for_web ^0.0.4, image_cropper_platform_interface ^2.0.0.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • removed: class CropAspectRatio
  • removed: ctor CropAspectRatio({required this.ratioX, required this.ratioY})
  • removed: enum CropAspectRatioPreset
  • removed: enum CropStyle
  • removed: enum ImageCompressFormat
  • removed: field CropAspectRatio.ratioX: final double
  • removed: field CropAspectRatio.ratioY: final double
  • removed: function aspectRatioPresetName(CropAspectRatioPreset? preset): String
  • removed: function compressFormatName(ImageCompressFormat format): String
  • removed: function cropStyleName(CropStyle style): String
  • removed: get CropAspectRatio.hashCode: int
  • removed: member CropAspectRatioPreset.original
  • removed: member CropAspectRatioPreset.ratio16x9
  • removed: member CropAspectRatioPreset.ratio3x2
  • removed: member CropAspectRatioPreset.ratio4x3
  • removed: member CropAspectRatioPreset.ratio5x3
  • removed: member CropAspectRatioPreset.ratio5x4
  • removed: member CropAspectRatioPreset.ratio7x5
  • removed: member CropAspectRatioPreset.square
  • removed: member CropStyle.circle
  • removed: member CropStyle.rectangle
  • removed: member ImageCompressFormat.jpg
  • removed: member ImageCompressFormat.png
  • removed: method CropAspectRatio.operator ==(other): bool
  • changed: class AndroidUiSettings → class AndroidUiSettings extends PlatformUiSettings
  • changed: class IOSUiSettings → class IOSUiSettings extends PlatformUiSettings
  • changed: 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… → 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…
  • changed: 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?> → method ImageCropper.cropImage({ required String sourcePath, int? maxWidth, int? maxHeight, CropAspectRatio? aspectRatio, List<CropAspectRatioPreset> aspectRatioPresets = …, CropStyle cropStyle = …, ImageCompressFormat compressFormat = …, int compressQuality = …, List<PlatformUiSettings>? uiSettings, }): Future<CroppedFile?>
  • added: static get ImageCropper.platform: ImageCropperPlatform