180,326 questions
0
votes
0
answers
5
views
Having trouble getting OSD in Flutter app using flutter_tesseract_ocr package
I'm also new to flutter and tesseract so might be a problem with my understanding.
I am wanting to make an app that takes an image from my gallery and can read the text from them.
I'm using Google ML ...
0
votes
0
answers
9
views
Is there a straightforward, standard way to intercept pops, WHILE the widget tree is still available?
Right now I have
return PopScope(
canPop: false,
onPopInvokedWithResult: (bool didPop, Object? result) async {
if (result == null){
final navigator = Navigator.of(context);
await ...
0
votes
0
answers
11
views
Firebase Realtime database producing strange results by using .get() vs .once()
I'm experiencing something strange. I am storing a users messages sent from a flutter application inside the RTDB under the path MessageData/messages/{uid}/{message_uid} and was normally retrieving a ...
0
votes
0
answers
10
views
Android Emulator crashes on start up
Last night, everything was working perfectly. This morning, when I tried to start an android emulator via `flutter launch emulator', it immediately crashes:
[ERR] The Android emulator exited with ...
0
votes
0
answers
11
views
Correct use of MobX stores without using FutureBuilder in Flutter
For the ideal separation of view and logic how does one initialize a mobx store that makes an asynchronous API call, for a page/widget without the use of FutureBuilder? e.g. I log in and navigate to ...
0
votes
1
answer
14
views
GestureDetector causes move of the wrong item in stack
I want to have 2 movable widgets in a flutter's stack.
I created a stack with red and blue containers, wrapped with GestureDetector and Positioned
and they moved well.
when I tried to have the item ...
0
votes
0
answers
11
views
How to load different HTML files in a webView on flutter
How can I load different local HTML files into a WebView in Flutter depending on the language and whether the dark or light mode is active?
Unless the system language is set to German, should the ...
0
votes
0
answers
19
views
What are the advantages and disadvantages of Flutter Hook Widgets vs. Stateful Widgets?
I'm considering adopting Flutter Hooks in my project as an alternative to using traditional Stateful Widgets. I recently read an article suggesting that Hook Widgets can lead to better performance and ...
0
votes
0
answers
12
views
Flutter framework crash after accepting android licenses
I just formatted my PC and reinstalled all my dev stack.
I got this problem when reinstalled all my Flutter stuff (Android Studio, OpenJdk 17.0.2, Flutter framework).
So, I just wanted to know what ...
1
vote
0
answers
15
views
How do I resolve "Your project requires a newer version of the Kotlin Gradle plugin" error in my Flutter project?
I'm working on a Flutter project and while attempting to build a release APK (or running a Gradle assembleRelease task), I encounter the following error:
FAILURE: Build failed with an exception.
...
0
votes
0
answers
21
views
Not showing navigation bar in app even after implementing libraries and creating NavBar file
This is HomeScreen.dart file where navigation bar is implemented to show. It was working before taking tdee data from another screen in home screen but now when tdee (total daily energy expenditure) ...
0
votes
0
answers
22
views
Flutter email sender, can not compile
I can't compile and use the flutter_mail_sender package, the error is:
* What went wrong:
Execution failed for task ':flutter_email_sender:parseReleaseLocalResources'.
> Could not ...
0
votes
0
answers
32
views
How to convert this complex Future returning function to a Stream?
To be clear I don't simply want to convert the Future to a Stream object, I want to change the internal behavior of the function to support streaming the LLM response rather than returning the final ...
0
votes
1
answer
20
views
Flutter Android Gradle Plugin is not changing the version
I need your help... Even ChatGPT can't solve it... my Flutter app is not running on android. Some packages require ADP 8.3.0, and i can't change it.
here is my android/build.gradle:
buildscript {
...
0
votes
0
answers
19
views
TextField is automatically selected when start typing, causing the next letter to overwrite the existing text
I am experiencing an issue with TextField in Flutter 3.27.1 while running a desktop application on macOS 15.3.1. When I start typing in a TextField, the entire text gets selected automatically, ...