Viewing version 9.0.0. Open the latest package page.

image_cropper_platform_interface

9.0.0

A common platform interface for the image_cropper plugin.

Download archive

Readme

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

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

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'image_cropper_platform_interface:9.0.0'
pubspec.yaml
name: image_cropper_platform_interface
description: A common platform interface for the image_cropper plugin.
repository: https://github.com/hnvn/flutter_image_cropper
version: 9.0.0

environment:
  flutter: ">=3.47.0"
  sdk: '>=3.3.0 <4.0.0'

dependencies:
  flutter:
    sdk: flutter
  plugin_platform_interface: ^2.1.0
  http: ^1.0.0
  material_ui: ^1.6.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^6.0.0

Version history

VersionPublishedArchiveSHA-256
2.0.0-betaOn demandDownloadf7616f56…7e6524
2.0.0-beta.1On demandDownload019322c5…e54342
2.0.0On demandDownload4288cc50…41c857
3.0.0On demandDownload20aff65d…2fcd46
3.0.1On demandDownload1418681d…d346ed
3.0.2On demandDownload12579c4d…51b3a6
3.0.3On demandDownload62349e3a…b9273f
4.0.0On demandDownloadb232175c…78d685
5.0.0On demandDownloadee160d68…5da11e
6.0.0On demandDownloadd5dff65a…4a5664
6.0.1On demandDownloadcd2b7734…e4d399
6.0.2On demandDownloadd046da2b…0865af
6.0.3On demandDownload04d0eebd…2b05f0
6.1.0On demandDownload39c65395…381637
7.0.0On demandDownloade8e9d2ca…0b7531
7.1.0On demandDownload6ca6b817…4283af
7.2.0On demandDownload2d8db8f4…03afef
8.0.0On demandDownload886a30ec…f5e7ff
9.0.0Cached · Upstream SHA-256 matchedDownload4e4d874a…73c5ff

Dependencies

flutter { "sdk": "flutter" }

http "^1.0.0"

material_ui "^1.6.0"

plugin_platform_interface "^2.1.0"