Skip to main content
PESDK/Flutter

Migrating to version 3.0.0

A migration guide for version 3.0.0 of PhotoEditor SDK for Flutter.

License Unlocking#

With version 3.0.0 of the photo_editor_sdk plugin the SDK unlocking is now async and the function PESDK.unlockWithLicense returns Future<void>. Further, it now throws any errors occurring during the unlocking process which have been handled by the PESDK.openEditor method before. This said, while you can keep using the SDK without the need to do any adjustments to the existing integration, we highly recommend making use of the new API and catch any errors.

Please refer to the license section for further details on how to unlock the SDK.

Colors#

We further removed the custom Color class and replaced all occurrences with the Color class of the dart:ui package for more intuitive usage.