Flutter scalable OCR package is a wrapper around google_mlkit_text_recognition where you can partialy select part of camera which text will be processed of.
When referencing this repo (or a fork of it) directly in pubspec.yaml I get a compilation error:
_Error (Xcode): ../../.pub-cache/git/flutter_scalable_ocr-7e74e46c3ecbacf791364f9be309e62a29c6b544/lib/flutter_scalableocr.dart:51:24: Error: Can't declare a member that conflicts with an inherited one.
Using version 2.0.0 from pub.dev does not produce this error.
When referencing this repo (or a fork of it) directly in pubspec.yaml I get a compilation error:
_Error (Xcode): ../../.pub-cache/git/flutter_scalable_ocr-7e74e46c3ecbacf791364f9be309e62a29c6b544/lib/flutter_scalableocr.dart:51:24: Error: Can't declare a member that conflicts with an inherited one.
Using version 2.0.0 from pub.dev does not produce this error.
Issue seemes to be introduced with this commit: https://github.com/vbalagovic/flutter_scalable_ocr/blame/7e74e46c3ecbacf791364f9be309e62a29c6b544/lib/flutter_scalable_ocr.dart#L51
Chaning to
ScalableOCRState createState() => ScalableOCRState();
solves the issue