Open LufeeWuKong opened 1 year ago
final pickedFile = await ImagePicker().getImage(source: ImageSource.gallery); if (pickedFile != null) { final file = File(pickedFile.path); final sample = await ImageCrop.sampleImage( file: file, preferredSize: context.size?.longestSide.ceil(), ); String path = file.path; print("---------------_openImage() path: $path"); String? str = await Scan.parse(path); if (str != null) { print("---------------_openImage() str: $str"); } } MissingPluginException(No implementation found for method parse on channel chavesgu/scan)
same here...did you resolve this @LufeeWuKong ?
flutter clean and re run the project.
final pickedFile = await ImagePicker().getImage(source: ImageSource.gallery); if (pickedFile != null) { final file = File(pickedFile.path); final sample = await ImageCrop.sampleImage( file: file, preferredSize: context.size?.longestSide.ceil(), ); String path = file.path; print("---------------_openImage() path: $path"); String? str = await Scan.parse(path); if (str != null) { print("---------------_openImage() str: $str"); } } MissingPluginException(No implementation found for method parse on channel chavesgu/scan)