Questions tagged [flutter]
Use this tag for questions about the Flutter cross-platform UI toolkit. If your question is platform-specific, tag the platform as well (e.g., [android], [ios], etc.). You may also wish to include the [dart] tag for coding questions.
flutter
200,453 questions
0
votes
0
answers
26
views
Objectbox how to combine Count() with Distinct()
Flutter and Objectbox latest on Android emulator.
Have a Box with this example definition:
...
-3
votes
0
answers
34
views
WEBRTC| huge difference between ingress and egress [closed]
I am currently developing a cross-platform solution consisting of a mobile app and a Chrome extension that facilitates file transfers via WebRTC. I’ve noticed a significant performance anomaly when ...
1
vote
0
answers
40
views
Black box and ball strip not auto updating, ball-by-ball not showing in real time
This provider uses a canonical event model, unified commit pipeline, version-based rendering, WebSocket-first hybrid fallback, and atomic UI updates. I am building a Flutter live cricket scoring app ...
0
votes
0
answers
60
views
flutter build cannot find the included header file
I have below folder structure
...
1
vote
0
answers
40
views
Unicode Rupee Symbol in PDF Text in Flutter
Code I am using:
pw.Text('\u20B9 $value',textAlign: pw.TextAlign.center)
Expected output:
₹ 123456
7891011
(rupee symbol + ...
0
votes
0
answers
34
views
Spring Boot Stomp and Flutter: user message not routed as expected
I'm trying to set up WebSocket communication between a flutter frontend and Spring Boot backend server.
I'm able to connect, subscribe to channels and exchange messages BUT... I do not understand why ...
0
votes
0
answers
44
views
The button color changes transparent when the Stack and Positioned are used
enter image description hereenter image description here
When the keyboard comes up, I use the Stack and Positioned to make the button come up as well.
However, when the button comes up over the ...
3
votes
1
answer
61
views
How do I remove the gap on the edge when text overflow?
This is my code:
...
1
vote
0
answers
28
views
oauth2 package in Flutter not redirecting back to the app
These are my constants -
...
Advice
1
vote
1
replies
45
views
Flutter version compatibility or App Store submission guidance - Xcode 26 - Flutter 3.38 - Flutter 3.29
According to Apple’s requirement, starting from April 2026, when submitting apps to the App Store, they must be built using Xcode 26.
Starting April 2026, apps and games uploaded to App Store Connect ...
0
votes
0
answers
34
views
Flutter Data Response cut off [closed]
I run a laravel/vue app on wsl/ubuntu on my windows machine. I have a flutter app that gets data from it and I have a route that if i request it 10 times,getting the same exact data, it will fail 2-3 ...
-3
votes
1
answer
72
views
Flutter app +Android phone - suddenly the keyboard will not show up for the text fields [closed]
The problem was I had an app that has a settings page with textFormFields. That page has worked for literally years, and I made zero changes to it's code. Out of nowhere, the keyboard stops coming up ...
Advice
0
votes
1
replies
50
views
How to experiment with Flutter multi-window on Windows and Macos?
I want to use multi-window feature but I don't know how to start it. I found that canonical is implementing it on windows, macos, and linux, and it's already merged in the flutter engine, but I didn't ...
Advice
0
votes
2
replies
41
views
GoRouter, PaveView, GoNamed, force page refresh
I am using PageView to create a bottom navigation widget, with 3 pages. I use GoRouter for route navigation. I know how to refresh a page when I call pop, but hoping someone can tell me the best ...
0
votes
1
answer
59
views
After Android studio upgrade, not able to see list of devices in 'Select device' list
I was using an older version (Flamingo 2022) of Android studio. Due to a plugin dependency I upgraded it to Otter (2025), below issue persisted and downgraded to ...
0
votes
0
answers
41
views
Flutter Android not taking audio speech to text while recording
I am building an app in that i need to take speech to text while recording a video like a teleprompt app and in iOS its working as i wanted but in android the speech to text is not working and i ...
0
votes
0
answers
45
views
Forced Presence Update for Detached XEP-0198 Sessions on Openfire
I am developing a Flutter chat application using Openfire (5.0.2) and the Smack library (via a xmpp_plugin(flutter)). I am facing an issue with "Ghost Connections" when users turn off mobile ...
Tooling
0
votes
2
replies
43
views
Beginner friendly tech stack for a mobile app development?
I'm a beginner in mobile app development. I'm thinking of using flutter framework since it's compatible for IOS and android. I'm trying to develop a digital consent form for my institution.
What ...
0
votes
1
answer
50
views
How to fix open URLs in a flatpak version of an app?
My Flutter app (io.github.rsevero.mapiah) can´t open URLs on its flatpak version. It works both in Linux/AppImage and Windows.
I already used xyz.tytanium.DoorKnocker and com.belmoussaoui.ashpd.demo ...
Advice
0
votes
2
replies
40
views
Choosing between executing a task in the background, on another isolate, or on the main isolate
I'm working on a service for a Flutter app that should:
Check for a specific type of user data and send it to a server on app startup
Periodically, while the app is running, check for the same data ...
0
votes
0
answers
36
views
Error when referencing native_camera_sound package
I need to play a native camera sound in my flutter app in order to be run in Android. For that, I installed native_camera_sound package.
When I try to run the app, using a real device, I get this in ...
2
votes
1
answer
73
views
Android navigation buttons appears in front of buttons of my app
I have developed a flutter app for Android that shows a button in the bottom of the screen.
This is how I placed the widgets.
...
0
votes
0
answers
50
views
Integrating quick_actions library on flutter not working due to SceneDelegate on iOS native
Quick action works when AppDelegate is used. However it stops working when the app uses SceneDelegate (UIWindowSceneDelegate) ...
-2
votes
0
answers
100
views
How to fix 16 KB page size / ELF alignment error in Flutter on Android 14+ [closed]
Flutter APK fails on Android 14+ with 16 KB page size error after SDK upgrade – how to fix 16 KB alignment?
What are the required steps to make a Flutter app compatible with Android 14 (16 KB page ...
0
votes
0
answers
39
views
Flutter internet_connection_checker_plus returns false because probe URLs return 403
I am using internet_connection_checker_plus for my flutter app to test real internet connection before every die request but when I run the simulator or emulator I get 403 on first run of my app for ...
-2
votes
0
answers
28
views
How to extract amount or location from uploaded image or PDF in Flutter at upload time? [closed]
I am working on a Flutter app that allows users to upload expense receipts (either images or PDFs).
When the user uploads a receipt, I want the app to immediately scan the file and try to extract ...
0
votes
1
answer
45
views
PathNotFoundException: Cannot open file, path = '/some/file.txt'
My Android Studio keeps reporting 'Analysis server has terminated'. I've tried Invalidate Caches and 'Flutter clean', and even reinstalling Android Studio, all to no avail. My operating system is Mac. ...
-3
votes
0
answers
49
views
Customised Google map [closed]
The concept is something like this: I am creating a property. While creating it, I initially provide a location showing where the property is situated. Then, on the same page, there is another Google ...
-2
votes
0
answers
27
views
Flutter iOS widget extension [closed]
I have question about iOS widget extensions. My task is to create widget in our company app. So I know I need widget bundle identifier, my team lead create for me related widget identifier as an ...
Advice
0
votes
3
replies
47
views
Flutter: Is it possible to identify and match multiple users by fingerprint (1:N matching) on Android/iOS?
I am building a Flutter application that uses fingerprint authentication.
Requirement (what I want to achieve):
Multiple users should be able to register their fingerprints in the app along with ...
1
vote
0
answers
47
views
Flutter Unsupported TV Emulator Issue [closed]
Recently I've upgrade my flutter SDK. Previous flutter version I don't get any issue on my TV emulator. But, when I upgrade my project SDK and flutter SDK I get stack on issue.
How can I solve the ...
0
votes
0
answers
47
views
Flutter `build_runner` error: `BuildForInputLogger` missing `Logger.onLevelChanged` implementation due to dependency conflicts
Flutter build_runner error: BuildForInputLogger missing Logger.onLevelChanged
I’m working on ...
0
votes
2
answers
75
views
DateTime.parse in flutter is converting passed string to UTC time
I am calling an API from a flutter application.
That API returns a DateTime field in a JSON object. That DateTime field contains local time, this way:
...
Best practices
1
vote
2
replies
39
views
Should I create separate cubits for adding/updating/deleting a model? Beginner to bloc
This is the first time I'm using bloc so it's a bit confusing for me.
I have a workout model, and a repository with methods to fetch all workouts, add new, update, or delete a workout. Initially I ...
0
votes
2
answers
49
views
Flutter GetX app freezes on startup due to multiple controllers and heavy initialization work
I am working on a Flutter health management system app that uses GetX with an MVC architecture.
Current setup:
Around 20–25 GetX controllers
All API calls, Hive read/write operations, and business ...
1
vote
1
answer
70
views
"APNS token has not been set yet" only when app is built via pipeline
I'm making a flutter app for a client, and I'm currently setting up the push notifications using firebase_messaging: ^16.1.1. I've also set up a Github Actions ...
0
votes
0
answers
53
views
Running Flutter app with native C++ code works in debug mode but not in release mode
I have written native C++ code and compiled different libraries for iOS and Android. As long as I was running in debug mode there were no problems. But when I tried to run my app in release mode it ...
0
votes
1
answer
75
views
Flutter Kotlin Version Erro [closed]
I am trying to build a release build for my flutter app. But i keep getting
I have set the kotlin version to 2.3.0 which is the latest. Still I am getting this error. Does anyone know why this is ...
0
votes
0
answers
77
views
FCM Notifications fail to arrive (on device) when internet is slightly disturbed - Flutter
I am facing an issue using FCM in my flutter application while receiving notifications.
The issue is related to receiving notifications on client end, when the internet is slightly disturbed from the ...
Best practices
1
vote
1
replies
84
views
Ask about mobile cross application
I am interested in building a cross-platform mobile application for both Android and iOS.
If I choose Flutter for app development, what core concepts and skills I should focus on? Similarly, if I ...
1
vote
1
answer
76
views
0
votes
0
answers
47
views
Error in Flutter foregroundServiceType 0x00000008 [closed]
So I'm getting this error and I'm trying to track if location if on in background.
Has anyone had this issue? I haven't seen some with different foreground service type.
I have created a service it ...
0
votes
0
answers
51
views
Error: An internal error has occurred. [Error code 39] [closed]
I deployed my application on the Google Play console in internal test mode. In my application, I use firebase phone authentication. When I retrieve the application from Google Play and try to register,...
0
votes
0
answers
58
views
Flutter project stopped building after upgrading gradle [closed]
After I upgraded gradle plugin to version 9.3.1,my flutter project stopped building successfully with the following error:
...
0
votes
0
answers
64
views
Flutter app build failing after applying migration from the imperative apply script method to an old app
I need to add a feature to an old app made on Flutter but since the latest updates it seems Flutter made some changes on how gradle scripts are built.
I already did all the changes following the ...
0
votes
1
answer
77
views
How to include a piece of code only for one specific platform in Flutter?
I have a Flutter project where I am building outputs for both web and Android. The code includes classes that are specific to one target (used by web and not Android, and vice versa).
When building ...
0
votes
1
answer
56
views
How to get the text selection of a text field in flutter tests?
I have a TextField in my application, I would like to write some tests about its text selection. I don't have access to this widget as it is deeply nested inside ...
0
votes
0
answers
63
views
MissingPluginException for nfcAvailability only in Android release build (works after restart)
I am getting error in Android release build
MissingPluginException (No implementation found for method
getNFCAvailability)
and NFC starts working again only after restart
Device : ...
0
votes
1
answer
49
views
Can I keep a toast notification visible until user clicks X in flutter windows?
I’m building a Flutter desktop (Windows) app and using:
flutter_local_notifications: ^20.0.0,
Windows 11
I want the toast popup to stay visible until the user clicks the X (close button).
Right now, ...
0
votes
0
answers
36
views
Apple Pay button not showing in HyperPay paymentWidgets on Safari (Odoo backend)
I am integrating Apple Pay using HyperPay paymentWidgets with an Odoo backend.
As suggested by HyperPay, I created a clean test HTML page and opened it directly in iPhone Safari, but the Apple Pay ...