hm21 / pro_image_editor

The pro_image_editor is a Flutter widget designed for image editing within your application. It provides a flexible and convenient way to integrate image editing capabilities into your Flutter project.
https://hm21.github.io/pro_image_editor/
BSD 3-Clause "New" or "Revised" License
94 stars 59 forks source link

[Bug]: 'PopInvokedWithResultCallback' not found. #190

Closed bharaths44 closed 1 month ago

bharaths44 commented 1 month ago

Package Version

5.0.3

Flutter Version

3.22.3

Platforms

iOS

How to reproduce?

Error (Xcode): ../../.pub-cache/hosted/pub.dev/pro_image_editor-5.0.3/lib/widgets/extended/extended_pop_scope.dart:42:9: Error: Type 'PopInvokedWithResultCallback' not found. This message is displaying when i am trying to build ipa using flutter build ipa

Logs (optional)

No response

Example code (optional)

No response

Device Model (optional)

No response

hm21 commented 1 month ago

This is not just an issue; it involves breaking changes from the new flutter version, as detailed in the changelog here.

Breaking Changes
The package now supports Flutter 3.24, which modifies the onPopInvoked method.
A new loading dialog has been introduced as a singleton class.

If you cannot update your package to the newest Flutter version, you can use version 4.3.6, which is the highest version compatible with the older Flutter release.