6,975 questions
Best practices
1
vote
1
replies
66
views
How to build an OCR system in Flutter that can extract structured data from multiple bill formats?
I am trying to build an OCR feature in my Flutter app that can read hotel bills in multiple formats. The challenge is that these bills do not follow a fixed layout. From each bill, I need to extract ...
0
votes
0
answers
40
views
Google Maps Flutter camera center appears in top-left corner depending on Scaffold layout (extendBody / AppBar / bottomNavigationBar)
I'm building a custom map page in Flutter using `google_maps_flutter` (and a wrapper widget from `google_maps_drawing_tools`). I'm fighting a layout issue where the **camera target is not visually ...
2
votes
3
answers
287
views
Flutter Google Sign-In [16] Account reauth failed on Android — need help troubleshooting
I’m trying to implement Google Sign-In in my Flutter app using google_sign_in: ^7.2.0 and Firebase Authentication, but I keep hitting the following error after selecting a Google account:
...
-3
votes
1
answer
87
views
My Flutter project runs fine in Android Studio, but VS Code and other platform shows configuration errors [closed]
I made a flutter project using Android Studio, but had to shift to using VS Code. When I tried running the build using VS Code, it started giving a configuration error (assembleDebug):
The error was ...
2
votes
0
answers
103
views
I recently upgraded from Riverpod 2.x to 3.0 and I'm getting a disposal error
Unhandled Exception: Cannot use the Ref of noteControllerProvider after it has been disposed. This typically happens if:
A provider rebuilt, but the previous "build" was still pending and ...
3
votes
1
answer
167
views
How to re-edit an image after saving in pro_image_editor?
I'm using the Flutter package pro_image_editor: ^11.12.1 for image editing in my app.
The editor works fine for the first edit. However, I’m having trouble re-editing an image after it’s been saved ...
2
votes
0
answers
61
views
Random Barcode Detections on Timeout When No QR Code Is Present (mobile_scanner)
I’m getting random barcode values when the scanner view closes due to timeout even though no QR code or barcode in front of the camera.
Each time this happens, the detected values are different.
Code :...
0
votes
1
answer
92
views
Mouse scroll wheel feels laggy and not smooth in my Flutter website
I'm building a website using Flutter Web, but when I scroll using the mouse scroll wheel, it doesn’t feel smooth it’s kind of laggy or jumpy compared to websites built with React or standard HTML/CSS.
...
0
votes
0
answers
170
views
Flutter 3.35 iOS build fails on Apple Silicon (M3/M4): 'Flutter/Flutter.h' file not found
I'm on a MacBook Air 2025 M4 (Apple Silicon) using Flutter 3.35.5 on channel stable, Xcode 26.0.1, and CocoaPods 1.16.2.
Actual Setup:
Component
Version
macOS
15.0 Sequoia
CPU
Apple M4 (ARM64)
Flutter
...
0
votes
0
answers
56
views
Flutter issue related to apk
Configure project :gradle
WARNING: Unsupported Kotlin plugin version.
The embedded-kotlin and kotlin-dsl plugins rely on features of Kotlin 1.8.10 that might work differently than in the requested ...
0
votes
0
answers
64
views
how do i disable toast messages that are hard coded in package?
I am using this package Flutter_pos_printer_platform_image_3 where it has predefined toast messages those are generally not a problem but right now what I am doing is periodically scanning and ...
0
votes
0
answers
37
views
Flutter build fails due to Inconsistent JVM Target Compatibility (Kotlin vs Java) [duplicate]
I'm currently working on a Flutter project using:
Flutter SDK: v3.35.1
shared_preferences package: v2.5.3
Kotlin version: 2.2.0 (in the Android project)
When I try to run the command:
flutter build ...
0
votes
0
answers
144
views
Flutter 3.35 Android Release Build Crash – java.lang.NullPointerException: Attempt to invoke virtual method 'void Z2.j.D(...)' on a null object ref
I recently upgraded my Flutter SDK from 3.32.7 → 3.35.0.
Since then, my app works fine in debug mode, but crashes on launch in release mode with the following stacktrace:
FATAL EXCEPTION: main
E/...
2
votes
2
answers
140
views
How to implement Dynamic App Icon Change with flutter_app_icon_changer
Does anyone know the correct implementation of the flutter_app_icon_changer: ^0.1.1 library? and also what to place in the appIcons? What is the correct format of it? Does Anyone know the correct way ...
0
votes
0
answers
35
views
How to dynamically load multiple TensorFlow Lite models in a Flutter app instead of bundling them?
I am building a Flutter app where I have to execute three separate TensorFlow Lite models on-device:
An embedding model
An action video detection model
A DistilGPT2 RAG model
Currently, I bundle all ...