200,899 questions
0
votes
1
answer
81
views
Flutter: SharedPrefs is not setup in time on real devices
I have this app that before the main page is constructed, I have a FutureBuilder that does some setup on the SharedPreferences that must happen before anything else. I think I did all that correctly, ...
0
votes
0
answers
58
views
Visual Studio Code code and Xcode connection issue
In Xcode my code is successfully signing and building. But when I run it from VS code this is result:
Xcode build done. 9.5s
Failed to build iOS app
...
0
votes
0
answers
36
views
GetX BottomSheet UI not updating when controller update() is called (without using Obx)
Description:
I am using GetX (GetBuilder) for state management in Flutter.
On my main screen, I have an AppBar button that opens a BottomSheet.
The BottomSheet is opened from the controller and ...
1
vote
0
answers
36
views
Flutter DevTools fails to connect from host when app runs in VS Code devcontainer
I'm developing my Flutter app inside a vscode devcontainer, and everything is working except the devtools.
The "Dart DevTools" page comes up on my host PC, but it can't connect to ws://127....
0
votes
0
answers
40
views
Profile sharing with flutter on Windows using share_plus and app_links
I am trying to implement profile sharing but on windows, when i use share_plus i get the error "“Try again, we couldn't show you all the ways you could share”
i believe it is a windows share ...
2
votes
1
answer
91
views
nested classes with json_serializable: The method 'fromJson' isn't defined for the type 'type'
Flutter on windows latest version.
Create the following nested classes:
import 'package:json_annotation/json_annotation.dart';
part 'test.g.dart';
@JsonSerializable(explicitToJson: true)
class Test {
...
0
votes
0
answers
61
views
Api integration not working in custom keyboard in flutter android
This is the big issue i am facing and tried to research everywhere but not working for me please if anyone can resolve it for me
I simply tried to call api in the custom keyboard like when text is ...
0
votes
0
answers
40
views
Flutter Live Activities not showing on Lock Screen or Dynamic Island
I’m trying to display a Live Activity + Dynamic Island in my Flutter app using the live_activities plugin.
A simple Live Activity shows correctly, but when I switched to a more detailed Live Activity ...
1
vote
0
answers
33
views
Trying to build flutter engine with custom dart sdk
I was able to correctly compile the flutter windows engine and get the file (flutter_windows.dll) with the prebuilt dart sdk, but when I try to use --no-prebuilt-dart-sdk when added to the gn tool to ...
1
vote
1
answer
35
views
Shared Preferences lost on flutter edge browser
I save my filters in sharedPreferences, in the app and in web-browser daily use its fine , it gets save even on browser/app close.
But overnight it gets lost on edge in all mobile device :
final prefs ...
Best practices
1
vote
0
replies
22
views
Best practice to build flutter docker image on mac non-x86 for use on x86-64 machine
We have a flutter docker image (base image is debian for build and nginx for deployment)
The resulting container has to run on an x86-64 machine (uname -m is x86_64)
If we build the image on an x86-64 ...
1
vote
0
answers
111
views
16 kb memory page size in flutter
I am trying to upload app in playstore. but first thing I do is building empty project flutter. my question is... is this safe enough for 16kb memory page size. Here is android/app/build.gradle.kts
...
1
vote
0
answers
35
views
Unfound Dart Command: Restart Analysis Server
What's the problem:
It seems that I no longer have the Dart/Flutter Analysis Server, with means I don't have access to code snippets and shortcuts as well as running from VSCode (F5). In the bottom ...
Advice
0
votes
3
replies
51
views
Flutter digital odometer ocr
I am working on a flutter app that needs to read digital odometer state from an image. The goal is to have an image of the odometer, crop it around the number as close as possible and then do text ...
0
votes
1
answer
133
views
16KB memory page size Flutter
I am uploading my apps to play store and it says that older android version like android 12 will not compatible to install the apps and I also get notif to re update the apps becase 16KB memory page ...