202,488 questions
            
            
            0
            votes
        
        
            0
            answers
        
        
            13
            views
        
    Certain Turkish Characters Are Not Displayed in My Android Flutter App
                I'm working on a Flutter mobile app and testing localization. I noticed that in Turkish, certain characters are not displayed and instead show up as white spaces. The strange thing is that it works ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            17
            views
        
    Deployment: How to sign an iOS app on an older Mac
                I recently encountered a situation where a signed mobile app on my Mac, when uploaded to App Store Connect, gave a warning about the need to build the app on iOS SDK 18.
Here is the relevant news on ...
            
        
       
    
            206
            votes
        
        
            55
            answers
        
        
            286k
            views
        
    CocoaPods not installed or not in valid state
                Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Warning: CocoaPods is installed but broken. Skipping pod install.
  You appear to have CocoaPods installed but it is not working.
  This ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            34
            views
        
    Flutter - How to Reset Layout Page Drawer, After Change the page and get back
                I'm newbie with flutter
anyone can help me How to Reset Layout Page Drawer, After we Change the page and get back ?
this my code :
class DrawerItem {
  String title;
  IconData icon;
  DrawerItem(this....
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            18
            views
        
    How to integrate a candlestick chart like stockmarket app in a Flutter App
                I am working on a stocktrading app where i need to integrate a candlestick chart into application.
i have tried material_charts and still looking for some stable package or custom widget for the same.
...
            
        
       
    
            -1
            votes
        
        
            0
            answers
        
        
            13
            views
        
    launchUrl Not Working with LaunchMode.externalApplication on iOS
                I am trying to launch URLs, emails, phone calls, and SMS using the url_launcher package in Flutter. While it works fine on Android, it does not work as expected on iOS when using LaunchMode....
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            10
            views
        
    flutter - unable to run on android after update versions
                +1 ms] Warning: Flutter support for your project's Android Gradle Plugin version (7.2.0) will soon be dropped. Please upgrade your Android Gradle Plugin version to a version of at least 7.3.1 soon.
[  ...
            
        
       
    
            -1
            votes
        
        
            0
            answers
        
        
            11
            views
        
    flutter - pod install - returns always same error
                milosn@MacBookPro ios % pod install
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
cloud_functions: Using Firebase SDK version '10.25.0' ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            26
            views
        
    Navigator push below current route
                In Flutter I want to push a page below current route. When current page is popped (navigated back), pushed page will be visible.
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            11
            views
        
    Flutter Hive: boxName “cache” works, but “users” throws an error
                Question:
I’m using Hive in my Flutter project, and I encountered a strange issue:
•   If I use "cache" as the box name, everything works fine without any errors.
•   But when I use "...
            
        
       
    
            3
            votes
        
        
            3
            answers
        
        
            112
            views
        
    I'm already using Kotlin latest version still Flutter wants me to upgrade
                When i run the emulator i get these errors and fix :
e: file:///C:/Users/xunre/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.1.10/d3028429e7151d7a7c1a0d63a4f60eac86a87b91/...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            13
            views
        
    How to Implement AirPlay(iOS) and Cast(Androdi) Support in Flutter App Using just_audio and audio_service?
                I'm developing a Flutter application that uses just_audio and audio_service for audio playback and background audio handling. I want to add AirPlay support so users can stream audio to nearby devices.
...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            15
            views
        
    app crashes using android.permission.FOREGROUND_SERVICE_LOCATION
                I'm trying to build a flutter app to get the location every 2 seconds even when the app is minimised. I'm using the flutter_background_service: ^5.0.4 for the app to check location when minimised.
...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            17
            views
        
    How to extract a specific column information from a pdf using flutter
                I have a pdf file which has a table. Inside the table I have multiple columns. I want to extract the data from a specific column for all the entries. The pdf might contain multiple pages.
I am able to ...
            
        
       
    
            5
            votes
        
        
            11
            answers
        
        
            10k
            views
        
    pod update/install fails at Installing BoringSSL-GRPC (0.0.24)
                When I run pod install or pod update in my flutter project, it fails at Installing BoringSSL-GRPC (0.0.24). And it prints this error message,
[!] Error installing BoringSSL-GRPC
[!] /usr/bin/git clone ...
            
        
       
    
            0
            votes
        
        
            3
            answers
        
        
            3k
            views
        
    Flutter pushing two page to navigator sequentially
                I want to push two pages to the flutter navigator one after another, so that going back from 2nd page redirects me to the first page. The code for this action will look somewhat like below -
Navigator....
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            33
            views
        
    SliverList stacked below SliverAppBar in flutter
                I am using slivers to display various kind of content.
In some cases I have an empty title in AppBar and would like to push the content up to remove the blank space.
How would I do that?
This is my ...
            
        
       
    
            2
            votes
        
        
            2
            answers
        
        
            612
            views
        
    Package new_version_plus:android references com.codesfirst.new_version_plus:android as the default plugin, but the package does not exist,
                Hello I just upgraded my flutter application to 3.6.0, previously I was using new_version package to show the update popup but as it is no longer maintained I just switched to new_version_plus but I ...
            
        
       
    
            0
            votes
        
        
            5
            answers
        
        
            5k
            views
        
    "The getter 'body' isn't defined for the type 'Response<dynamic>". on Flutter
                i'm having a problem to put a response json on a List.
When i try to transform the body data (where the data comes) i get the error:
The getter 'body' isn't defined for the type 'Response<dynamic&...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            20
            views
        
    ShowcaseView: Taps outside target area advance tour but fails when step includes navigating to a different screen
                Description:
I'm using the ShowcaseView package to implement a guided tour in my Flutter app. For most steps, tapping outside the target area (i.e. on the overlay) successfully advances the tour. ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            146
            views
        
    Error assets/.env 403 (Forbidden) - Futter web
                My website that is in production was working correctly and today the following error appeared when entering the link on my website, this mentioned error prevents me from viewing my website, can you ...
            
        
       
    
            4
            votes
        
        
            4
            answers
        
        
            2k
            views
        
    Flutter complains that it "Could not prepare isolate"
                The error looks like this:
E/flutter ( 3378): [ERROR:flutter/runtime/dart_isolate.cc(144)] Could not prepare isolate.
E/flutter ( 3378): [ERROR:flutter/runtime/runtime_controller.cc(422)] Could not ...
            
        
       
    
            21
            votes
        
        
            7
            answers
        
        
            31k
            views
        
    The archive did not include a dSYM for the Flutter.framework with the UUIDs
                I'm new to Flutter iOS development. Trying to publish an app on the Apple app store. But after building the archive, when I try to distribute or validate the app, Xcode keeps me showing
The archive ...
            
        
       
    
            1
            vote
        
        
            6
            answers
        
        
            6k
            views
        
    How to resolve error loading FirebaseOptions from resource? (PlatformException: java.lang.Exception)
                I'm trying to create a simple signin/signup application with Firebase, but I'm encountering the following error.
Already tried flutter clean .
E/flutter ( 4727):
[ERROR:flutter/runtime/...
            
        
       
    
            95
            votes
        
        
            17
            answers
        
        
            261k
            views
        
    ERROR: JAVA_HOME is not set and no 'java' command could be found in your flutter PATH. In Flutter
                I installed Android Studio 4.1 and tried to run the existing project. But it gives an error like this:
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the ...
            
        
       
    
            1
            vote
        
        
            2
            answers
        
        
            1k
            views
        
    Error opening Apps like WhatsApp to share text: Flutter
                I am trying to open apps like WhatsApp, Twitter and Facebook from inside my flutter app but I get a URL scheme error. Please help!
The code I am using is
                      child: ElevatedButton(
  ...
            
        
       
    
            0
            votes
        
        
            3
            answers
        
        
            808
            views
        
    how to solve flutter bar code package problem
                I try to build a release apk for my project, but I face an exception:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':flutter_barcode_scanner'.
>...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            460
            views
        
    Flutter Barcode Scanner Problem in Release Mode
                I'm developing an app which uses the 'flutter_barcode_scanner' package, latest version. in debug mode everything is working fine. However when I try to build the app in release mode scanner screen ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            45
            views
        
    I published flutter web on iis server and when reload or refresh link gives 404 error
                i am using flutter as a web when publish as a release mode on iis server gives HTTP Error 404.0 - Not Found when  reload with url,but ok with click on links.
but localhost work fine, there no any ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            19
            views
        
    How to get Google Lens search results in a flutter app
                Is there a possibility to open Google Lens in a flutter app and get the search results to use them for some purpose? After searching, I got these lines of code, but they just open Google Lens in the ...
            
        
       
    
            2
            votes
        
        
            3
            answers
        
        
            47
            views
        
    Why Can't I Pop This View After Async Code Completes?
                I've got a bit of code that allows a user to delete their account info from my Supabase backend. From what I can tell, the "delete user" part works fine (i.e. the user gets deleted from the ...
            
        
       
    
            8
            votes
        
        
            4
            answers
        
        
            523
            views
        
    Why are trailing commas auto deleted and not formatted in flutter?
                The trailing commas used to be auto formatted now does not format it but instead it deletes them. The same happens in Android Studio. What might cause this?
This is the dart settings:
"[dart]&...
            
        
       
    
            2
            votes
        
        
            2
            answers
        
        
            3k
            views
        
    Flutter Windows Google Authentication Without google_sign_in
                The google_sign_in package doesn't seem to support Google authentication on Windows. Is there a way to do Google sign-in on Flutter Windows without this package? I'm guessing that we need to open a ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            80
            views
        
    is there any solution to find jwt token in flutter app using aws amplify
                I am implementing authentication in flutter app using AWS amplify using google identity provider (sign in with google) but I am facing trouble in getting the JWT token and I have to pass this JWT ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            19
            views
        
    Unable to Fetch and Display Admin, Passengers, and Drivers Chats from Firebase Firestore in Flutter
                I am working on a Flutter project where I need to display chat messages between admin, passengers, and drivers. The chat data is stored in Firebase Firestore under the admin_chats collection. Each ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            46
            views
        
    Flutter speech_to_text Locale Issue: Android Emulator Supports Japanese, But Pixel Defaults to English
                I'm building a Flutter app that uses the https://pub.dev/packages/speech_to_text v6.6.2 package for speech-to-text functionality. My app works perfectly with Japanese (ja-JP) voice input on the ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            9
            views
        
    The supplied phased action failed with an exception. Could not create task ':flutter_plugin_android_lifecycle:compileDebugUnitTestSources'
                I'm encountering an error while trying to build my Flutter project for Android. The error message indicates that there is a mismatch in the roots for the flutter_plugin_android_lifecycle
The supplied ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            13
            views
        
    Huawei Error when building android app in Android Studio
                I am getting this error when trying to build our android app:
What went wrong:
Execution failed for task ':app:checkEssDebugAarMetadata'.
Could not resolve all dependencies for configuration ':app:...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            24
            views
        
    how to add splash screen in flutter?
                so tis is my code basically explaining how splahs screen is implemented in flutter althugh i am having some issues if you may. the splash logo doesnt quite show u and its juts a blank screen until the ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            8
            views
        
    Bloc plugin generates empty files often (Flutter)
                Maybe anyone knows why the Bloc plugin in the Android Studio generates the empty files when you are creating the new templates?
I tried to invalidate caches, restart IDE, reinstall the bloc plugin.
...
            
        
       
    
            19
            votes
        
        
            11
            answers
        
        
            83k
            views
        
    Another exception was thrown: 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 2216 pos 12: '!_debugLocked': is not true
                My app was running good I just update the code in one file and I am receiving this error before that error every page was navigating perfectly and now all the pages are good to work instead of this ...
            
        
       
    
            0
            votes
        
        
            2
            answers
        
        
            410
            views
        
    Flutter Native Splash Screen package causing the app not to run in the android emulator
                I'm trying to add a Splash Screen to my flutter app, but when I add the "flutter_native_splash" dependency to my pubspec.yaml file, I cannot run the android emulator. When I press "...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            32
            views
        
    Cannot pass function as argument to constructor of class extended ChangeNotifier
                I'm trying to write a provider class with ChangeNotifier. Because the class is designed to be generic so the data inside is generic, so I thought of passing detail extraction function to this provider ...
            
        
       
    
            20
            votes
        
        
            13
            answers
        
        
            30k
            views
        
    Why do I get white screen when building flutter web
                I want to build a flutter web app, so I enter 'webdev build' command and after the operation finishes, I open the 'index.html' file located in build directory and it's just a white screen.
I tried it ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            23
            views
        
    MobileNetV3-Large TFLite Model Works in Notebook But Always Predicts the Same Class in Flutter App
                I trained a 46-class image classification model using MobileNetV3-Large with TensorFlow/Keras and saved it as a .keras model. I converted it to TFLite using tf.lite.TFLiteConverter.from_keras_model()
...
            
        
       
    
            -3
            votes
        
        
            1
            answer
        
        
            44
            views
        
    Flutter android app get google ads campaign details progamatically
                My flutter android application is available in playstore, and our marketing team is promoting a app using Google ads app install and app engagement ads, i want to get campaign details from ads.
https:/...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            37
            views
        
    Flutter Image size independent of display size
                I have following Image of specific dimensions:
SizedBox(
  width: imageWidth,
  height: imageHeight,
  child: CachedNetworkImage(
    imageUrl: images!.first.url,
    fit: BoxFit.cover,
  ),
);
The ...
            
        
       
    
            567
            votes
        
        
            91
            answers
        
        
            823k
            views
        
    Getting error "No such module" using Xcode, but the framework is there
                I'm currently coding in Swift, and I've got an error:
  No such module Social
But I don't understand, because the module is in my project, declared in "Linked frameworks and Libraries" and in "...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            27
            views
        
    The named parameter 'documentSnapshot' is required, but there's no corresponding argument
                I want to navigate from a page not using Firebase to another page that I used Firebase, I could not know what the right argument.
This is a non-firebase page, the error in the tourist() route.
class ...