AhmedAbdoElhawary / image_picker_plus

This package is based on Custom-gallery-display (my package) to make it easy and fast.
https://pub.dev/packages/image_picker_plus
MIT License
57 stars 35 forks source link

Error: The class 'Drag' can't be used as a mixin because it isn't a mixin class nor a mixin. #61

Closed IlgamGabdullin closed 1 year ago

IlgamGabdullin commented 1 year ago

Hi! I tried to reproduce example normal1 from pub.dev and got error

Failed to build iOS app Error (Xcode): ../../../.pub-cache/hosted/pub.dev/image_crop-0.4.1/lib/src/crop.dart:63:68: Error: The class 'Drag' can't be used as a mixin because it isn't a mixin class nor a mixin. crop.dart:63 Could not build the application for the simulator. Error launching application on iPhone 14 Pro. Exited

Environment Flutter version 3.10.0 on channel stable Dart version 3.0.0 DevTools version 2.23.1

IlgamGabdullin commented 1 year ago

found same problem in image_crop package repo

cenkerkumlucali commented 1 year ago

If you add this code block, you won't encounter the same error. image_crop: git: url: https://github.com/tsafundzic/image_crop.git

GabriellArthur commented 1 year ago

I'm having the same error. I can't use any functionality from the repository, just importing the image_picker_plus already gives an error

AhmedAbdoElhawary commented 1 year ago

67