You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i try to use selectedImages inside the crop widget i got error above. to select the image i am using photo_manager package. when i use the imageData.thumnailData it show without problem.
flutter doctor results:
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.1.1 24B91 darwin-arm64, locale en-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.95.3)
[✓] Connected device (4 available)
[✓] Network resources
The text was updated successfully, but these errors were encountered:
When i try to select an in image in .heif format from the gallery in ios simulator and show it in the crop package, i get the following error.
package:crop_your_image/src/logic/parser/image_image_parser.dart': Failed assertion: line 20 pos 10: 'tempImage != null': is not true.
code sample:
void onTapImage(AssetEntity imageData) async {
File? file = await imageData.file;
if (file != null) {
int sizeInBytes = (await imageData.originBytes)!.length;
double sizeInMB = sizeInBytes / (1024 * 1024);
}
when i try to use selectedImages inside the crop widget i got error above. to select the image i am using photo_manager package. when i use the imageData.thumnailData it show without problem.
flutter doctor results:
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.1.1 24B91 darwin-arm64, locale en-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.95.3)
[✓] Connected device (4 available)
[✓] Network resources
The text was updated successfully, but these errors were encountered: