vbalagovic / flutter_scalable_ocr

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.
https://pub.dev/packages/flutter_scalable_ocr
MIT License
56 stars 32 forks source link

Build fails for Android #15

Open DavidARivkin opened 8 months ago

DavidARivkin commented 8 months ago

When building for Android, one gets the following error in the dart code: command: flutter build apk

lib/main.dart:34:25: Error: Can't declare a member that conflicts with an inherited one. State get createState => _MyHomePageState(); ^^^^^^^^^^^ ../../../../Dev/flutter/packages/flutter/lib/src/widgets/framework.dart:796:9: Context: This is the inherited member. State createState(); ^^^^^^^^^^^ Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 16s Running Gradle task 'assembleRelease'... 77.3s Gradle task assembleRelease failed with exit code 1