flutter_tflite
flutter_tflite copied to clipboard
tflite_example version resolving fails for some dev_dependencies
In the example's pubspec.yml there seem to be some incompatible dependencies.
Only after removing the version pinning of image_picker, image and tflite the dependency resolving succeeds.
(When I say "to remove version pinning" I mean leaving the version number empty, so it results in the_package_name: any.
To account for the newer versions, in the example's main.dart one needs to replace ImagePicker.pickImage by ImagePicker().pickImage and predictImage(image); by predictImage(File(image.path));