# image_cropper_platform_interface 9.0.0

A common platform interface for the image_cropper plugin.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add image_cropper_platform_interface
```
Published: 2026-10-12T08:25:01.913991Z
Expected archive SHA-256: 4e4d874a7e71321d94fae45cb6ea5562043c828e3c71d4031b902301ff73c5ff

Available in cache; verification: upstream_checksum
## Direct dependencies
- flutter: map[sdk:flutter]
- http: ^1.0.0
- material_ui: ^1.6.0
- plugin_platform_interface: ^2.1.0

## Package README (untrusted upstream documentation)
Common platform interface for the `image_cropper` plugin.
## Changelog
## 9.0.0

* add `freeStyleCropEnabled` to `AndroidUiSettings` (serialised as `android.free_style_crop_enabled`). Pairs with the matching change in `image_cropper`'s Android delegate.
* add `freeStyleCropShrinkOnly` (serialised as `android.free_style_crop_shrink_only`).

## 8.0.0

* update Flutter constraint to minimum of 3.28.0 (to support `toARGB32()`)

## 7.2.0

* Android: `statusBarColor` is deprecated and no longer in use, introduce new properties `statusBarLight` and `navBarLight`

## 7.1.0

* fix bug on Flutter WASM [#567](https://github.com/hnvn/flutter_image_cropper/pull/567)

## 7.0.0

* relax flutter version constraints
* iOS: introduce `iOSUiSettings.embedInNavigationController` to support add2app environments

## 6.1.0

* replace deprecated API (`UnmodifiableUint8ListView` by `asUnmodifiableView`)
* increase Dart SDK constraints (`>=3.3.0`)

## 6.0.3

* Web: fix the issue of `WebDialogBuilder`, should return `Widget` instead of `Dialog`

## 6.0.2

* Web: fix bug cropper not get correct container's size

## 6.0.1

* add `backIcon` property in `WebThemeData` to support customization of `AppBar.leading` in `CropperPage`

## 6.0.0

* refactor `WebUiSettings` class to support new JS library
* move `cropStyle` and `aspectRatioPresets` into `AndroidUiSettings` and `IOSUiSettings` for sake of clean and clarity
* refactor `CropAspectRatioPreset` to support customized aspect ratio preset

## 5.0.0

* upgrade `http` to v1.0.0

## 4.0.0

* update SKD constraint
* refactor CHANGELOG

## 3.0.3

* support localization on Web

## 3.0.2

* correct `WebSettings` model

## 3.0.1

* correct default values of `WebUiSettings`

## 3.0.0

* **BREAKING CHANGE**: move all setting models to platform interface packages

## 2.0.0-beta.1

* **BREAKING CHANGE**: update result models to support web, replace `File` by `CroppedFile`

## 2.0.0-beta

* migrate to federated plugins







 
