Replace llamadart, flutter_onnxruntime and flutter_langdetect with API-compatible stubs via dependency_overrides, so llama.cpp, LiteRT-LM and ONNX Runtime are not packaged. Translation and the neural image codec become unavailable; both are off by default upstream. Also drop non-arm64 prebuilt plugin libraries at packaging time. APK: 340 MB -> 39.5 MB, flutter test 909/909 passing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 lines
137 B
Dart
5 lines
137 B
Dart
Future<void> initLangDetect() async {}
|
|
|
|
String detect(String text) =>
|
|
throw UnsupportedError('Language detection is not built in.');
|