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 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
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.
Where: Script '/Users/david/Dev/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1297
What went wrong: Execution failed for task ':app:compileFlutterBuildRelease'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 1m 16s Running Gradle task 'assembleRelease'... 77.3s Gradle task assembleRelease failed with exit code 1