200,362 questions
Score of 0
1 answer
93 views
Extend body to the bottom edge of the screen in android devices with full screen indicator - removing the black color below the indicator
I think it is because of edge-to-edge issue but not sure. That's why unable to figure out a solution from Flutter side. Need suggestion on how to extend scaffold body up to bottom edge below the ...
Score of 0
1 answer
42 views
why does pubspec.lock file look modified even after 'flutter upgrade --force' command?
Please note that I have not intentionally made any changes to my local flutter installation.
I wanted to upgrade flutter today and flutter warned me about some local changes. I figured out that in <...
Score of 0
0 answers
75 views
How to reserve space in advance for adaptive banner AdMob ads in Flutter?
I am using adaptive banner admob ads. I use Provider's Consumer to show the ad once it is available/loaded. This causes the app content to bump when the ad is displayed suddenly once it is loaded. To ...
Score of 2
1 answer
169 views
Gradle build fails with "Timeout waiting to lock journal cache" in Flutter project
I am trying to run my Flutter project on an Android emulator, but the Gradle build fails before the application starts.
Environment
Flutter: 3.44.8 (stable)
Dart: 3.12.2
Gradle: 8.14
Android Gradle ...
Score of -4
0 answers
64 views
Sprites with dynamicAbove class disappearing in bonfire engine and tiled [closed]
I can't figure out why this happens, but sometimes, sprites with dynamicAbove class applied disappears when I run my game. And I usually have to delete most if not all layers that I created in tiled ...
Score of -4
1 answer
258 views
What programming language or framework would you recommend for cross-platform mobile development on Android and iOS? [closed]
As far as I know, the two most well-known options for cross-platform mobile app development on Android and iOS are React Native and Flutter.
React Native uses a syntax that is similar to, or is based ...
Score of 0
1 answer
81 views
Android MessagingStyle inline reply stuck on loading in flutter_local_notifications
How do I implement inline reply for Android chat notifications in Flutter using flutter_local_notifications?
When a user replies from the notification shade, the loading spinner never clears. ...
Score of 0
1 answer
111 views
Is PKCE still required when ASWebAuthenticationSession or Chrome Auth Tab securely delivers the OAuth callback?
According to RFC 8252, as specified in section 6, the native apps must implement PKCE.
Public native app clients MUST implement the Proof Key for Code
Exchange (PKCE [RFC7636]) extension to OAuth, ...
Score of 2
1 answer
930 views
I installed Flutter in Android Studio, and this is the error Android toolchain - develop for Android devices (Android SDK version 37.0.0)
Android toolchain - develop for Android devices (Android SDK version 37.0.0)
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See ...
Score of 2
1 answer
396 views
Package/plugin issues when upgrading to flutter 3.47.0 (AGP (Gradle) 9.1.0, KGP (Kotlin) 2.4.0)
I want to upgrade my flutter and my AGP version so when I deploy it to play store, the warning about optimization will disappear. However, I run into a new problem when I tried to upgrade from flutter ...
Score of 2
1 answer
104 views
Flutter Android app builds successfully but crashes with ClassNotFoundException for MainActivity
Yesterday I installed/configured Flutter and Android Studio on a fresh Windows setup and created my first Flutter project:
flutter create first_app
I did not modify any project files after creating ...
Score of 0
1 answer
133 views
Flutter fails with "No suitable NDK found for target architecture" error in old project but runs fine in new project
When I try to run an old project (for Android) after the flutter update the app fails to build with error Bad state: No suitable NDK found for target architecture arm64. But will run fine with a new ...
Score of -1
0 answers
66 views
Creating a insert next function in flutter just audio
I've been developing a mobile media player for a month now.
While creating the Insert next function I noticed that it doesn't behave as expected when shuffle mode is on. as a play next function should ...
Score of -1
0 answers
163 views
Google Sign-In failing with ApiException 10 ONLY when downloaded from Play Store
I am facing a very frustrating issue with Google Sign-In in my Flutter app. It works perfectly in Debug mode and when I install a Local Release APK. However, when I upload the AAB to the Google Play ...
Score of 0
0 answers
82 views
Flutter Firebase Auth: sign in with custom email OTP into an account created with Apple Sign-In (same email)
I have a Flutter app using firebase_auth with three sign-in methods: Apple Sign-In, Google Sign-In, and a custom email OTP flow (I generate a 6-digit code myself and send it via SMTP — not Firebase's ...
Score of 1
0 answers
89 views
How can I access the cached messages from streams without hot reloading the app in Flutter?
I successfully implemented Firebase Cloud Messaging (FCM) within a Flutter application, enabling seamless notification delivery and reception across interfaces. However, a critical issue persists: ...
Score of 0
0 answers
207 views
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
I got these messages when I compiled my app in Android Flutter SDK:
The error messages:
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: ...
Score of 0
1 answer
83 views
Custom Chinese font Noto Sans SC is not being used in Flutter
I customized a Noto Sans SC font in Flutter, but the display effect was not good. It seems that she did not use Noto Sans SC correctly to display Chinese text, like that:
The font it shows is a font ...
Score of 1
0 answers
82 views
Firebase auth/invalid-credential "Invalid OAuth response from apple.com" with valid identityToken
Native Sign in with Apple on iOS always fails with this:
[firebase_auth/invalid-credential\] "Invalid OAuth response from apple.com"
In Cloud Console metrics, AuthenticationService....
Score of 1
0 answers
105 views
Flutter Android 11, 12, and 13 HandshakeException After SSL Certificate Update
I am developing a Flutter Android application, and the app is showing a HandshakeException on devices running Android 11, Android 12, and Android 13.
The issue started after the SSL certificate was ...
Score of 2
1 answer
134 views
How can I prevent a Flutter WebView from navigating to external URLs or opening other pages?
I'm building a vidsrc.to client to watch movies on my Android phone, using webview_flutter 4.x, I want to load a specific embedded video page inside a WebView, but I need to prevent the webpage from ...
Score of -3
0 answers
105 views
How to use Flutter on a Linux Mint computer with a physical phone
I have a computer turning on Linux mint system and also with 4 GB of RAM. The problem is that I can fill Android Studio requirements to install it on my computer. So I want to use my physical phone ...
Score of -1
0 answers
64 views
Is there any way to provide access to an object in an entire folder and not the entire app?
If there is a folder for the widgets of a feature in an app, then how to provide access to a single class object to the entire folder?
For example in feature first architecture, the presentation ...
Score of 1
1 answer
241 views
Flutter Google Sign-In works in release APK but fails in Google Play Internal Testing with [16] Account reauth failed
I'm developing a Flutter Android app and I'm facing an issue with Google Sign-In.
Problem:
Google Sign-In works perfectly when I build and install the release APK locally:
flutter build apk --release
...
Score of 2
0 answers
97 views
Can RegisterApplicationRestart relaunch an MSIX app after ExitProcess(0) following a StoreContext update? [closed]
I am reviewing a Windows restart flow in a Flutter desktop app packaged as MSIX and intended for Microsoft Store distribution. The app uses a custom Flutter Windows plugin; there is no external ...
Score of 0
1 answer
105 views
Best approach for localizing dynamic content from Firebase in Flutter?
I’m working on a Flutter app where I already have localization working for the normal app strings.
Now I’m a little confused about the best way to handle the content that comes from Firebase/Firestore....
Score of 1
0 answers
97 views
Flutter time picker appears behind stepper
Within the stepper, each time I click the button to show the time picker, it appears behind the stepper and is not selectable. Then, when I go to either step, it fails to disappear.
Expected behaviour:...
Score of 1
1 answer
87 views
Flutter image_picker PlatformException(missing_valid_image_uri, Cannot find at least one of the selected images., null, null)
image_picker package gives the following exception when picking single or multiple images on real device. it's working on emulators and simulators.
so the returned path of the picked image is always ...
Score of 2
0 answers
98 views
Why does Flutter cold start take significantly longer on Impeller/OpenGL ES than Impeller/Vulkan?
I'm investigating Flutter cold start performance because Google Play Android Vitals reports poor cold start performance on some devices.
To isolate the issue, I tested with a minimal Flutter app:
void ...
Score of 1
1 answer
90 views
How can I lock orientation for only one screen on iPad without disabling multitasking?
I'm currently migrating from ML Kit to mobile_scanner for QR/barcode scanning because it is lighter and performs better on low-end Android devices.
However, mobile_scanner has a long-standing issue on ...
Score of 3
0 answers
147 views
Using subtraction between two big doubles does not work
I'm trying to subctract my BigDoubles in flutter, but the result is not changing.
BigDouble currentHealth = 5.big;
print(currentHealth / 2.big); //result 2.5
print(currentHealth + 2.big); /...
Score of 3
2 answers
151 views
Should CRUD changes reflect directly in local state or wait for database update?
I am learning flutter and have a general question. I am using the repository pattern, which the business/presentation layers listen to.
The repository listens to the DB for new data or changes to them,...
Score of 0
0 answers
109 views
flutter build appbundle warning: "unobfuscated DWARF debugging information"
After upgrading Flutter (from version 3.41.9) to 3.44.8 and upgrading Gradle (from version 8.13) to 8.14 and to 9.6.1 (in a later step), and editing Gradle settings (android/settings.gradle.kts) and ...
Score of 0
0 answers
105 views
VS Code shows "Incorrect type. 'string' expected" for @-metadata entries in .arb files, even though flutter gen-l10n works fine
I'm working on a Flutter project with localization via .arb files (app_en.arb, app_de.arb, app_sv.arb, etc.). Each translation key has a corresponding metadata entry, structured like this:
{
"...
Score of 1
0 answers
56 views
Persistent Configs with shared_preferences vs path_provider
I've been working on a Flutter app (for all but web) that requires some base configs to be persistently saved across app-usage. From all the reading I've done on the packages' documentation, it seems ...
Score of 1
2 answers
172 views
How to securely call OpenAI API from a Flutter Web app without exposing the API key?
I am building a Flutter Web app that needs to use the OpenAI API for a feature. The Flutter Web app compiles to client-side JavaScript. I know I cannot call the OpenAI API directly from the app with ...
Score of 0
0 answers
278 views
How to fix this error "Failed to apply plugin 'dev.flutter.flutter-gradle-plugin' "?
I have been for the error for an hour and tried multiple gradle packages to rectify this error.But, I don't know what to do .
I have updated my flutter stable.Done all that.But none is working and ...
Score of -2
1 answer
130 views
How to avoid stale data across multiple Riverpod family providers that fetch overlapping filtered subsets?
Project Setup
I have a general architecture issue with my application. I'm using Riverpods 3 with Flutter for my frontend and a Python Fast API backend with Pydantic models.
My code is structured into ...
Score of 1
1 answer
86 views
Unable to update Flutter version without using --force in the command
Whenever I am trying to update the Flutter version on macOS I am getting the message that there are some local changes in my Flutter SDK & to use the --force command to remove the changes & ...
Score of 0
1 answer
55 views
Dart LSP server: Cannot run program "dart" - CreateProcess error=193 (Android Studio, LSP4IJ)
I manually configured a Dart Language Server in Android Studio / IntelliJ using the LSP4IJ plugin (Settings > Languages & Frameworks > Language Servers).
When the server tried to start, I ...
Score of 2
0 answers
105 views
How to show a FlutterActivity above Android lock screen with visible video playback?
I have a Flutter Android app and I need to show a video screen above the Android lock screen.
The app is a Flutter project. The main screen is a FlutterActivity, and video playback inside Flutter ...
Score of 0
0 answers
55 views
How can I expose backend-loaded namespace translations through BuildContext in Flutter?
I'm implementing a backend-driven localization system in Flutter using flutter_bloc, similar to how i18next works in React.
Instead of bundling translation files with the application, translations are ...
Score of 1
0 answers
99 views
firebase_ai Flutter plugin fails with "Cannot query the value of this provider because it has no value available" on Gradle 9.1.0
I'm getting a build failure specifically in the firebase_ai plugin's Android build task when running flutter run / flutter build apk. Other Firebase plugins in the same project (firebase_auth, ...
Score of 0
0 answers
62 views
:app:compileDebugJavaWithJavac' error on new project, sqflite error after switching to SDK 35
Setup: Flutter 3.44.4, Windows 11, Android Studio's bundled JDK 21, testing on a physical device.
So the first thing, when creating a new project, if I try to run it I get this error:
[ +96 ms] ...
Score of 0
1 answer
128 views
Google Play reports 16 KB page size issue only for Android Studio generated AAB, but not for flutter build appbundle
I'm facing a very strange issue with Google Play's 16 KB page size validation.
Environment
Flutter: (3.44.6)
Android Studio: (Android Studio Quail 2 2026.1.2)
AGP: 9.1.0
NDK: 28.2.13676358
...
Score of -1
1 answer
168 views
Flutter Linux desktop build fails with "No provider of glBlitFramebuffer found" after updating to Flutter 3.44.6
After updating Flutter to version 3.44.6, I can no longer run my Flutter app on Linux. The app builds successfully, but when it launches, I get the following error:
Launching lib/main.dart on Linux in ...
Score of 0
1 answer
110 views
Flutter Workmanager not working in background or killed state. Works fine in foreground. For backup to google drive for a local Objectbox database
I am trying to implement a daily autobackup functionality with Workmanager, to upload the local Objectbox data as a json file to Google Drive. But the code is not working when app is in background or ...
Score of 0
1 answer
99 views
Flutter Logger async logging with file rotation
I have used the Flutter Logger package logger: ^2.7.0 and attempted to do a rotation of the log files. The check for the rotation was placed in the file logger void output(OutputEvent event) method.
...
Score of 0
1 answer
114 views
Need help in UI mismanagement for drop downs and input fields,
I am facing an issue with some input fields and drop down decorations, although the UI I am using is supposed to be same for both, but the dropdowns are shown differently from input fields.
I have not ...
Score of 0
1 answer
125 views
Is it good practice to store GlobalKeys in Bloc state to scroll a chat list to the newest message?
I'm building a chat UI similar to ChatGPT. Whenever the user sends a message or the AI responds, I want the list to scroll so the newest item's.
void _scrollToTarget(GlobalKey key) {
// Ensure the ...