id stringlengths 7 11 | source stringclasses 1
value | category stringclasses 11
values | title stringlengths 15 214 | text stringlengths 70 30.5k | url stringlengths 57 160 | tags stringlengths 3 113 | created_at int64 1.22B 1.79B |
|---|---|---|---|---|---|---|---|
se_66767363 | stackoverflow | MOBILE_DEVELOPMENT | Flutter / Dart Error SocketException: OS Error: The remote computer refused the network connection. , errno = 1225, address = 127.0.0.1, port = 59250 | Flutter / Dart Error SocketException: OS Error: The remote computer refused the network connection. , errno = 1225, address = 127.0.0.1, port = 59250
I am getting this error in my debugger.
From what I understood it's an error generated by ip config.
I found this solve here, but i dont understand where should i modify... | https://stackoverflow.com/questions/66767363/flutter-dart-error-socketexception-os-error-the-remote-computer-refused-the | flutter, dart, localhost | 1,616,517,321 |
se_53688921 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Firebase/Firestore Document Reference to Future Builder List View | Flutter Firebase/Firestore Document Reference to Future Builder List View
Just started using Firestore and Flutter and trying to get my document items from Firestore into a ListView and running into errors. Here is my data structure:
and here is my code for the page so far.
import 'package:flutter/material.dart';
imp... | https://stackoverflow.com/questions/53688921/flutter-firebase-firestore-document-reference-to-future-builder-list-view | flutter, firebase, dart, google-cloud-firestore | 1,544,323,377 |
se_79981765 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Linux desktop build fails with "No provider of glBlitFramebuffer found" after updating to Flutter 3.44.6 | 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 Linu... | https://stackoverflow.com/questions/79981765/flutter-linux-desktop-build-fails-with-no-provider-of-glblitframebuffer-found | flutter | 1,784,352,630 |
se_77225500 | stackoverflow | MOBILE_DEVELOPMENT | Plugin [id: 'com.android.application', version: '8.3.0', apply: false] was not found in any of the following sources: | Plugin [id: 'com.android.application', version: '8.3.0', apply: false] was not found in any of the following sources:
This error appears when I try to run Gradle Run:
Plugin [id: 'com.android.application', version: '8.3.0', apply: false] was not found in any of the following sources:
- Gradle Core Plu... | https://stackoverflow.com/questions/77225500/plugin-id-com-android-application-version-8-3-0-apply-false-was-not-f | flutter, macos, gradle | 1,696,367,028 |
se_79452434 | stackoverflow | MOBILE_DEVELOPMENT | Flutter native splash showing only background on apk installation launch | Flutter native splash showing only background on apk installation launch
ISSUE:
Flutter native splash is showing only the background when launched right after installing with APK (first launch). But when later opened the, the main image and branding is shown. When installing directly from VS Code to physical or virtua... | https://stackoverflow.com/questions/79452434/flutter-native-splash-showing-only-background-on-apk-installation-launch | android, flutter, dart, splash-screen, android-splashscreen | 1,739,990,445 |
se_74660714 | stackoverflow | MOBILE_DEVELOPMENT | Why is this await unnecessary? | Why is this await unnecessary?
my linter is telling me this await is unnecessary:
Unnecessary await keyword in return.
I thought if you're calling a function inside an async function and you want to get/return the value, rather than the future you had to use await to designate you want the value, not the future.
Am... | https://stackoverflow.com/questions/74660714/why-is-this-await-unnecessary | flutter, dart, async-await | 1,670,009,766 |
se_79057171 | stackoverflow | MOBILE_DEVELOPMENT | How to convert my Flutter project into an apk file | How to convert my Flutter project into an apk file
I have built a simple Flutter SMS reporting system but I am facing a challenge to convert my project into an APK file format.
I have tried the CMD prompt to converting a Flutter project into an APK file but I think my setup has a Gradle problem and therefore fails to ... | https://stackoverflow.com/questions/79057171/how-to-convert-my-flutter-project-into-an-apk-file | flutter, flutter-apk | 1,728,135,363 |
se_79963057 | stackoverflow | MOBILE_DEVELOPMENT | Becoming Android Freelance Developer or IOs Developer- which one is best and why? | Becoming Android Freelance Developer or IOs Developer- which one is best and why?
I am looking to switch careers from Software Engineering to Mobile developer to work as a freelance in exciting projects. I am wondering which mobile tech is best: Android or IOs or Flutter?
I do have knowledge of Python, Sql and a bit o... | https://stackoverflow.com/questions/79963057/becoming-android-freelance-developer-or-ios-developer-which-one-is-best-and-why | android, ios, flutter | 1,781,858,445 |
se_71711718 | stackoverflow | MOBILE_DEVELOPMENT | image_cropper crashing the app in flutter | image_cropper crashing the app in flutter
I have added image cropping library in my project image_cropper: ^1.5.1 with image_picker: ^0.8.4+11 . i picked the image with image picker and pass the image file to image cropper after selecting the file from gallery and passing it to image cropper the app is getting crashed... | https://stackoverflow.com/questions/71711718/image-cropper-crashing-the-app-in-flutter | flutter, dart, flutter-layout, androidx, flutter-test | 1,648,840,015 |
se_47198533 | stackoverflow | MOBILE_DEVELOPMENT | Failed assertion: line 3927 pos 14: '_dependents.isEmpty': is not true | Failed assertion: line 3927 pos 14: '_dependents.isEmpty': is not true
I am back again with the issue related to the question already posted by me on stack overflow Error: '_elements.contains(element)': is not true
this issue has been plaguing me but i was unable to reproduce the same issue and now i have som... | https://stackoverflow.com/questions/47198533/failed-assertion-line-3927-pos-14-dependents-isempty-is-not-true | dart, flutter | 1,510,220,674 |
se_72505581 | stackoverflow | MOBILE_DEVELOPMENT | How to notify listeners of A from B | How to notify listeners of A from B
I have two controllers using the changenotifiers in my app and I want to notify listeners of A from B. I have be trying two different methods for the same.
Method 1
(Controller A):
class DrawController extends ChangeNotifier {
void clearCanvas() {
selectedText = '';
should... | https://stackoverflow.com/questions/72505581/how-to-notify-listeners-of-a-from-b | flutter, dart | 1,654,414,644 |
se_79966859 | stackoverflow | MOBILE_DEVELOPMENT | google_mlkit_face_detection: FaceDetector.processImage() crashes only in Android release (works in debug) | google_mlkit_face_detection: FaceDetector.processImage() crashes only in Android release (works in debug)
I'm seeing a native crash from google_mlkit_face_detection that only happens in Android release builds.
Environment
Flutter: (version)
google_mlkit_face_detection: (version)
google_mlkit_commons: (version)
cam... | https://stackoverflow.com/questions/79966859/google-mlkit-face-detection-facedetector-processimage-crashes-only-in-android | android, flutter, dart, google-mlkit | 1,782,393,966 |
se_64985111 | stackoverflow | MOBILE_DEVELOPMENT | Failed assertion: line 5070 pos 12: '<optimized out>': is not true | Failed assertion: line 5070 pos 12: '<optimized out>': is not true
After a user successfully logins in and saving the state, I want to hide the login screen and just load the home screen, but I end up with the error
The following assertion was thrown building
Navigator-[GlobalObjectKey
_WidgetsAppState#... | https://stackoverflow.com/questions/64985111/failed-assertion-line-5070-pos-12-optimized-out-is-not-true | flutter, dart | 1,606,215,796 |
se_58301995 | stackoverflow | MOBILE_DEVELOPMENT | How to login and Signup with Rest API using flutter with Session establishment | How to login and Signup with Rest API using flutter with Session establishment
I have created a login form with email, password a login button. I am new to flutter, dart and web.
How do I integrate the JSON Restfull API for Login and Signup, by using JSON as an object.
Also please let me know how to establish a sess... | https://stackoverflow.com/questions/58301995/how-to-login-and-signup-with-rest-api-using-flutter-with-session-establishment | android, flutter, dart | 1,570,616,455 |
se_76459225 | stackoverflow | MOBILE_DEVELOPMENT | SBOM file generation for flutter apps | SBOM file generation for flutter apps
I'm interested on setting up a step in a CI/CD flow that will scan a flutter app and create an SBOM (software bill of materials) file. I checked that there is the syft tool which supports dart language but wondering if anyone used this or there is an alternative tool for such purp... | https://stackoverflow.com/questions/76459225/sbom-file-generation-for-flutter-apps | flutter, security, cicd | 1,686,593,026 |
se_76459225 | stackoverflow | MOBILE_DEVELOPMENT | SBOM file generation for flutter apps | SBOM file generation for flutter apps
I'm interested on setting up a step in a CI/CD flow that will scan a flutter app and create an SBOM (software bill of materials) file. I checked that there is the syft tool which supports dart language but wondering if anyone used this or there is an alternative tool for such purp... | https://stackoverflow.com/questions/76459225/sbom-file-generation-for-flutter-apps | flutter, security, cicd | 1,686,593,026 |
se_57360923 | stackoverflow | MOBILE_DEVELOPMENT | Multiple include(s) in analysis_options.yaml? | Multiple include(s) in analysis_options.yaml?
I'd like to combine two (or more) analysis_options.yaml files for my project but wasn't able to find a way how to do that.
This works:
include: package:pedantic/analysis_options.yaml
...
This works too:
include: package:flutter/analysis_options_user.yaml # note diffe... | https://stackoverflow.com/questions/57360923/multiple-includes-in-analysis-options-yaml | flutter, dart | 1,565,016,238 |
se_79979842 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Workmanager not working in background or killed state. Works fine in foreground. For backup to google drive for a local Objectbox database | 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 ... | https://stackoverflow.com/questions/79979842/flutter-workmanager-not-working-in-background-or-killed-state-works-fine-in-for | flutter, objectbox, flutter-objectbox, flutter-workmanager | 1,783,750,124 |
se_75938683 | stackoverflow | MOBILE_DEVELOPMENT | Fatal Exception: Bad state: Too many elements | Fatal Exception: Bad state: Too many elements
I am getting above error while using addListener on Scroll Controller.
Class is initialised once but the method is called multiple times and where the error is occurred.
I have declared controller globally like
ScrollController rwScrollController = ScrollController();
usi... | https://stackoverflow.com/questions/75938683/fatal-exception-bad-state-too-many-elements | flutter, dart, flutter-cubit | 1,680,692,936 |
se_79858742 | stackoverflow | MOBILE_DEVELOPMENT | Build failure in flutter awesome_notifications due to android receiver | Build failure in flutter awesome_notifications due to android receiver
I am unable to build with awesome_notifications, using the receivers specified in the readme documentation. In that readme file it says:
Also, to allow the schedules to be recreated when the device is restarted, you need to add these permissions a... | https://stackoverflow.com/questions/79858742/build-failure-in-flutter-awesome-notifications-due-to-android-receiver | android, flutter, awesome-notifications | 1,767,294,083 |
se_79979654 | stackoverflow | MOBILE_DEVELOPMENT | Need help in UI mismanagement for drop downs and input fields, | 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 added any extra paddings or anything, but I am still ge... | https://stackoverflow.com/questions/79979654/need-help-in-ui-mismanagement-for-drop-downs-and-input-fields | flutter | 1,783,688,215 |
se_74769798 | stackoverflow | MOBILE_DEVELOPMENT | How to parse multidimensional json in flutter? | How to parse multidimensional json in flutter?
How to parse this json in flutter by creating model
{
"Innerarray":[
[{"abc":"A"}],
[{"abc":"d", "hg":21}]
]
}
Json['Innerarray'].map<List<dynamic>>((l)=>List<Mymodel>.from(l)).to list();
It's not working please help me to parse this json | https://stackoverflow.com/questions/74769798/how-to-parse-multidimensional-json-in-flutter | json, flutter, dart | 1,670,841,374 |
se_58187944 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Icons 3 dots | Flutter Icons 3 dots
Does the material library of Flutter have the 3 dots icons
Icon(Icons.three_dots_overflow), | https://stackoverflow.com/questions/58187944/flutter-icons-3-dots | flutter, material-design | 1,569,943,258 |
se_71762929 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Error: Could not resolve all files for configuration ':classpath'. > Could not find com.android.tools.build:gradle:7.4.2 | Flutter Error: Could not resolve all files for configuration ':classpath'. > Could not find com.android.tools.build:gradle:7.4.2
What went wrong:
A problem occurred configuring root project 'android'.
Could not resolve all files for configuration ':classpath'.
Could not find com.android.tools.build:gradle:... | https://stackoverflow.com/questions/71762929/flutter-error-could-not-resolve-all-files-for-configuration-classpath-cou | java, android, flutter, gradle, android-gradle-plugin | 1,649,231,319 |
se_79960456 | stackoverflow | MOBILE_DEVELOPMENT | Flutter FutureBuilder rebuilds the entire page when i just want the icon | Flutter FutureBuilder rebuilds the entire page when i just want the icon
I'm developing a Flutter application that displays a list of metro stations using a FutureBuilder.
Each station has a favorite button (Icons.favorite / Icons.favorite_border), and the favorite state is stored locally using SQLite.
When the user t... | https://stackoverflow.com/questions/79960456/flutter-futurebuilder-rebuilds-the-entire-page-when-i-just-want-the-icon | flutter | 1,781,587,526 |
se_76298094 | stackoverflow | MOBILE_DEVELOPMENT | Impeller Rendering Engine Causing Massive Latency and Memory Consumption | Impeller Rendering Engine Causing Massive Latency and Memory Consumption
I'm working on a Flutter project (sdk: '>=3.0.1 <4.0.0') for iOS (platform :ios, '13.0') and right after upgrading Flutter this morning I noticed that the iPhone simulator (Xcode 14.3) was using between 3-5gb of memory and my entire system was un... | https://stackoverflow.com/questions/76298094/impeller-rendering-engine-causing-massive-latency-and-memory-consumption | ios, flutter, ios-simulator | 1,684,637,341 |
se_67746554 | stackoverflow | MOBILE_DEVELOPMENT | Check internet connection throughout the app? | Check internet connection throughout the app?
I would like to check if there is internet connection throughout the different pages. I have the following code in my "login" page:
@override
void initState() {
subscription = Connectivity()
.onConnectivityChanged
.listen((ConnectivityResult result) {
... | https://stackoverflow.com/questions/67746554/check-internet-connection-throughout-the-app | flutter, dart | 1,622,245,660 |
se_49164592 | stackoverflow | MOBILE_DEVELOPMENT | Flutter: How to change the MaterialApp theme at runtime | Flutter: How to change the MaterialApp theme at runtime
I have a MaterialApp Widget that sets the theme for all Widgets within the app. I'd like to change the MaterialApps theme value at runtime from a child Widget that doesn't have any direct reference to its parent MaterialApp.
It seems like this should be possibl... | https://stackoverflow.com/questions/49164592/flutter-how-to-change-the-materialapp-theme-at-runtime | flutter | 1,520,477,439 |
se_77880628 | stackoverflow | MOBILE_DEVELOPMENT | This exception was thrown because the response has a status code of 404 and RequestOptions.validateStatus was configured to throw for this status code | This exception was thrown because the response has a status code of 404 and RequestOptions.validateStatus was configured to throw for this status code
In flutter I tried to POST data using the DIO package, I posted some data:
final response = await dio.post(
"127.0.0.1/toko_grosir_api/create.php",
data: {
... | https://stackoverflow.com/questions/77880628/this-exception-was-thrown-because-the-response-has-a-status-code-of-404-and-requ | php, flutter, dart, dio | 1,706,192,140 |
se_79962111 | stackoverflow | MOBILE_DEVELOPMENT | Android studio virtual device not showing up | Android studio virtual device not showing up
Android virtual device in android studio not showing up.
I don't know how to use the android virtual device and run the app on it
Android virtual device in android studio not showing up.
I don't know how to use the android virtual device and run the app on it | https://stackoverflow.com/questions/79962111/android-studio-virtual-device-not-showing-up | flutter, dart, android-studio | 1,781,689,700 |
se_70304358 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Error: VM snapshot invalid and could not be inferred from settings. - When want to include Flutter module in android project | Flutter Error: VM snapshot invalid and could not be inferred from settings. - When want to include Flutter module in android project
Use this Option B in link to include Flutter model.
The project starts, but as soon as it comes to initializing the FlutterEngine, this error is thrown.
2021-12-10 13:54:09.300 12446-124... | https://stackoverflow.com/questions/70304358/flutter-error-vm-snapshot-invalid-and-could-not-be-inferred-from-settings-wh | android, flutter, flutter-engine, flutter-module | 1,639,138,535 |
se_79979669 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Logger async logging with file rotation | 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.
However by causing a delay in this method (by rotating files etc.) the ... | https://stackoverflow.com/questions/79979669/flutter-logger-async-logging-with-file-rotation | flutter, logging | 1,783,691,295 |
se_68683169 | stackoverflow | MOBILE_DEVELOPMENT | Confused on how I would turn this Json response into a list | Confused on how I would turn this Json response into a list
So I have the model written correctly I believe..
For this json..
[
{
"userId": 1,
"id": 1,
"title": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit",
"body": "quia et suscipit\nsuscipit recusandae consequuntur e... | https://stackoverflow.com/questions/68683169/confused-on-how-i-would-turn-this-json-response-into-a-list | flutter, dart | 1,628,259,639 |
se_76183594 | stackoverflow | MOBILE_DEVELOPMENT | Flutter web app built with --web-renderer=html does not work on Safari until one clicks "Allow WebGL in Web Workers" | Flutter web app built with --web-renderer=html does not work on Safari until one clicks "Allow WebGL in Web Workers"
When one builds a Flutter web app with
flutter build web --release --web-renderer=html
then the app does not load (blank screen) when one views it through Safari 16.4 on desktop. It works if o... | https://stackoverflow.com/questions/76183594/flutter-web-app-built-with-web-renderer-html-does-not-work-on-safari-until-one | flutter, safari, webgl, web-worker | 1,683,299,191 |
se_73187425 | stackoverflow | MOBILE_DEVELOPMENT | build.yaml crashing on "flutter_gen_runner $package$" after upgrade to flutter 3.0.5 | build.yaml crashing on "flutter_gen_runner $package$" after upgrade to flutter 3.0.5
Consider the following build.yaml. It is working with an existing flutter 2.10 setup. However, when trying to upgrade to flutter 3.0.5 it generates this error:
FlutterGen v4.3.0 Loading ... pubspec.yaml
[SEVERE] flutter_ge... | https://stackoverflow.com/questions/73187425/build-yaml-crashing-on-flutter-gen-runner-package-after-upgrade-to-flutter-3 | flutter, dart, flutter-dependencies | 1,659,307,547 |
se_75567699 | stackoverflow | MOBILE_DEVELOPMENT | how can i use setState() outside of stateful widget | how can i use setState() outside of stateful widget
Im creating this modal for report bottomsheet. and I want to change background color on hover but it requires setstate in order to do so, how can I do it without setState? i asked chatGpt and it gave me this code. but its still gives error.
here is my code:
import 'p... | https://stackoverflow.com/questions/75567699/how-can-i-use-setstate-outside-of-stateful-widget | flutter, dart, widget, setstate, flutter-showmodalbottomsheet | 1,677,351,302 |
se_79978420 | stackoverflow | MOBILE_DEVELOPMENT | Is it good practice to store GlobalKeys in Bloc state to scroll a chat list to the newest message? | 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 widget is built
Wid... | https://stackoverflow.com/questions/79978420/is-it-good-practice-to-store-globalkeys-in-bloc-state-to-scroll-a-chat-list-to-t | best-practices, flutter, dart, bloc, flutter-listview | 1,783,618,257 |
se_71011955 | stackoverflow | MOBILE_DEVELOPMENT | Where is lib/main.dart in Android Studio? | Where is lib/main.dart in Android Studio?
I am trying to learn Flutter and I am following this tutorial here.
I was able to successfully able to set up flutter and I opened Android Studio and hit play and I see the template base app showing. The tutorial then asks me to edit lib/dart.main
But I do not see that file an... | https://stackoverflow.com/questions/71011955/where-is-lib-main-dart-in-android-studio | flutter, android-studio | 1,644,183,935 |
se_63157766 | stackoverflow | MOBILE_DEVELOPMENT | Adjust Z-Index in flutter | Adjust Z-Index in flutter
I try to place an element above another element in flutter. With transform: Matrix4.translationValues it worked to set a negative value, but the element above has a bigger z-index. How could I adjust that? To understand what I need:
This is what I have
This is what I need
My code
class _Alb... | https://stackoverflow.com/questions/63157766/adjust-z-index-in-flutter | flutter, dart | 1,596,038,646 |
se_57000915 | stackoverflow | MOBILE_DEVELOPMENT | Error: ADB exited with exit code 1 Performing Streamed Install | Error: ADB exited with exit code 1 Performing Streamed Install
I'm receiving the following error while running flutter run on some projects, however, on other projects it works fine:
(base) Nusraths-MacBook-Pro:flutter_uber_clone rahama$ flutter emulators --launch Pixel_2_XL_API_28
(base) Nusraths-MacBook-Pro:flutter_... | https://stackoverflow.com/questions/57000915/error-adb-exited-with-exit-code-1-performing-streamed-install | android, flutter | 1,562,910,909 |
se_79977847 | stackoverflow | MOBILE_DEVELOPMENT | Need Help for building flutter app to Control LED/Buzzer)(M1P LED Beacon Tag) | Need Help for building flutter app to Control LED/Buzzer)(M1P LED Beacon Tag)
I am currently building a Flutter application to control the M1P LED Tag (a coin-sized BLE asset tag). The goal of the app is to connect to the tag and send commands to turn its LED and Buzzer on and off. I have successfully implemented scan... | https://stackoverflow.com/questions/79977847/need-help-for-building-flutter-app-to-control-led-buzzerm1p-led-beacon-tag | flutter, bluetooth-lowenergy, iot | 1,783,505,470 |
se_79976417 | stackoverflow | MOBILE_DEVELOPMENT | Is this the right architecture for a real-time virtual clothing try-on app? | Is this the right architecture for a real-time virtual clothing try-on app?
I'm currently working on a personal project called SmartCam, and I'd really appreciate some feedback from anyone who's worked with AR, computer vision, Unity, MediaPipe, or virtual try-on systems.
The idea is to build an Android app that lets ... | https://stackoverflow.com/questions/79976417/is-this-the-right-architecture-for-a-real-time-virtual-clothing-try-on-app | flutter, dart, unity-game-engine, augmented-reality, mediapipe | 1,783,419,021 |
se_68641203 | stackoverflow | MOBILE_DEVELOPMENT | How to edit PDF using flutter? | How to edit PDF using flutter?
I have a requirement to upload a PDF file and edit the same PDF file in my flutter app. How can I achieve this? | https://stackoverflow.com/questions/68641203/how-to-edit-pdf-using-flutter | flutter, dart, pdf | 1,628,015,710 |
se_66549206 | stackoverflow | MOBILE_DEVELOPMENT | Some input files use or override a deprecated API Flutter | Some input files use or override a deprecated API Flutter
I am using sms_autofill: ^1.3.1 plugin from pub.dev. Everything was fine before adding this plugin.
My pubspec.yaml file:
name: example_app
description: A new Flutter project.
publish_to: "none"
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependen... | https://stackoverflow.com/questions/66549206/some-input-files-use-or-override-a-deprecated-api-flutter | android, flutter, dart | 1,615,301,549 |
se_79976426 | stackoverflow | MOBILE_DEVELOPMENT | How can I learn Riverpod if I'm coming from GetX? | How can I learn Riverpod if I'm coming from GetX?
I'm trying to learn Flutter Riverpod, but I'm struggling to understand it. I have experience with GetX, so I'm used to its way of managing state. Riverpod feels completely different, and I'm having a hard time understanding providers, notifiers, and how everything ... | https://stackoverflow.com/questions/79976426/how-can-i-learn-riverpod-if-im-coming-from-getx | flutter, dart, riverpod, state-management | 1,783,421,019 |
se_74192871 | stackoverflow | MOBILE_DEVELOPMENT | Check an internet connection available on Flutter app | Check an internet connection available on Flutter app
I am looking for a way to check an internet connection from my flutter app.
I tried to follow processes below.
use lookup final result = await InternetAddress.lookup('example.com')
and check result.isNotEmpty && result[0].rawAdress.isNotEmpty
use internet_connect... | https://stackoverflow.com/questions/74192871/check-an-internet-connection-available-on-flutter-app | flutter, dart, mobile, flutter-dependencies, internet-connection | 1,666,694,825 |
se_63592197 | stackoverflow | MOBILE_DEVELOPMENT | Contains references to both AndroidX and old support library | Contains references to both AndroidX and old support library
After upgrating flutter version to Flutter 1.22.0-2.0.pre.78 • channel master I am getting this warning:-
WARNING:
[Processor] Library
'C:\Users....gradle\caches\modules-2\files-2.1\io.flutter\flutter_embedding_debug\1.0.0-b1d9f863db32cb1d6714cf75db4a992ee3... | https://stackoverflow.com/questions/63592197/contains-references-to-both-androidx-and-old-support-library | android, ios, flutter, androidx, android-jetifier | 1,598,425,333 |
se_79347277 | stackoverflow | MOBILE_DEVELOPMENT | flutter ios deep link opens both app and website | flutter ios deep link opens both app and website
I am working on a migration from Firebase dynamic link to my own deep linking by following this article https://medium.com/firebase-developers/dynamic-links-are-dead-what-to-do-c73ad0669540.
The Android works fine but I am having some trouble to get deep linking works f... | https://stackoverflow.com/questions/79347277/flutter-ios-deep-link-opens-both-app-and-website | flutter, deep-linking | 1,736,553,393 |
se_79804589 | stackoverflow | MOBILE_DEVELOPMENT | YouTube video shows “Video unavailable (Error 15 / 153)” using youtube_player_iframe | YouTube video shows “Video unavailable (Error 15 / 153)” using youtube_player_iframe
I’m trying to play a YouTube video in my Flutter app using the youtube_player_iframe package.
Here’s a simplified version of my code:
_controller = YoutubePlayerController.fromVideoId(
videoId: '_57oC8Sfp-I',
autoPlay: true,
par... | https://stackoverflow.com/questions/79804589/youtube-video-shows-video-unavailable-error-15-153-using-youtube-player-if | flutter, dart | 1,761,816,576 |
se_79953107 | stackoverflow | MOBILE_DEVELOPMENT | SystemChrome.setSystemUIChangeCallback is not triggered when navigation bar appear | SystemChrome.setSystemUIChangeCallback is not triggered when navigation bar appear
This is a kiosk application developed in flutter.
I need to hide the navigation bar immediately when the user tries to reveal it by swiping from the edge.
I tried this in MyHomePageState class:
@override
void initState() {
super.i... | https://stackoverflow.com/questions/79953107/systemchrome-setsystemuichangecallback-is-not-triggered-when-navigation-bar-appe | flutter, flutter-ui | 1,780,935,272 |
se_79974980 | stackoverflow | MOBILE_DEVELOPMENT | How to stub a method having random parameter value in the app? | How to stub a method having random parameter value in the app?
How to stub a call to controller.sink.add() where it is taking a random input Value?
The domain class is calling the method like this.
class DomainClass extends ChangeNotifier {
late final DiVariables diVariables;
num answer = 0;
StreamSink<num> get ... | https://stackoverflow.com/questions/79974980/how-to-stub-a-method-having-random-parameter-value-in-the-app | flutter, dependency-management, stubbing, flutter-streambuilder, widget-test-flutter | 1,783,332,547 |
se_79701500 | stackoverflow | MOBILE_DEVELOPMENT | 16KB memory page size for Flutter Android and ndkVersion requirement? | 16KB memory page size for Flutter Android and ndkVersion requirement?
I've checked the migration guide, and already ensured my Android Gradle Plugin (AGP) version is 8.5.1 or higher; mine is at 8.7.3.
The second thing I've ensured is that the alignment of ELF segments support 16KB memory page size. I used the llvm-obj... | https://stackoverflow.com/questions/79701500/16kb-memory-page-size-for-flutter-android-and-ndkversion-requirement | android, flutter, android-ndk, 16kb-page-size | 1,752,546,820 |
se_79974642 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Payment Gateway | Flutter Payment Gateway
I'm currently working on a project, and I need to implement the in-app purchase feature. While researching, I noticed that some apps use third-party payment gateways like Razorpay or Juspay instead of Google Play Billing, yet they still get approved on the Play Store. Could you help me understa... | https://stackoverflow.com/questions/79974642/flutter-payment-gateway | flutter, in-app-purchase, payment-gateway | 1,783,248,211 |
se_79974287 | stackoverflow | MOBILE_DEVELOPMENT | Flutter SDK in Visual Studio Code not working | Flutter SDK in Visual Studio Code not working
I was trying to get started with Flutter.dev but running into some issues. Following the Getting started guide I installed VS Code, GIT, and the Flutter SDK. When I create a new project (View, command pallet, Type in and select Flutter, select application, select the fol... | https://stackoverflow.com/questions/79974287/flutter-sdk-in-visual-studio-code-not-working | flutter, visual-studio-code | 1,783,121,455 |
se_59558163 | stackoverflow | MOBILE_DEVELOPMENT | Use stream in provider with flutter | Use stream in provider with flutter
I make a simple example to understand using Stream with Provider pattern in flutter.
I do not know How can I change stream value in this case ?
- when I click Add icon, the value will be add, count value is increased (like Sink.add)
Please help me understand using Stream with Pro... | https://stackoverflow.com/questions/59558163/use-stream-in-provider-with-flutter | flutter, provider | 1,577,937,885 |
se_79939222 | stackoverflow | MOBILE_DEVELOPMENT | i cannot see and get access to my PostgreSQL database in VS Code using Flutter | i cannot see and get access to my PostgreSQL database in VS Code using Flutter
I want to connect Flutter code (one that appears automatically) to the database PostgreSQL.
So I want to get access to PostgreSQL with this package I found on pub.dev.
main.dart:
import 'package:postgres/postgres.dart';
void main() async {... | https://stackoverflow.com/questions/79939222/i-cannot-see-and-get-access-to-my-postgresql-database-in-vs-code-using-flutter | flutter, postgresql, windows, dart | 1,778,487,219 |
se_63679403 | stackoverflow | MOBILE_DEVELOPMENT | Flutter AudioService plugin not working on Ios release | Flutter AudioService plugin not working on Ios release
I'm using AudioService plugin and it works fine on Android and in debug mode in iOS. But once I test it on a real iOS device (in release mode) It's giving me exceptions
first at all
void quranStartListeningPoint() => AudioServiceBackground.run(() => QuranAudioServ... | https://stackoverflow.com/questions/63679403/flutter-audioservice-plugin-not-working-on-ios-release | flutter | 1,598,916,117 |
se_79974249 | stackoverflow | MOBILE_DEVELOPMENT | Flutter application won't relaunch after Gdk-Message: Unable to load from the cursor theme on WSL | Flutter application won't relaunch after Gdk-Message: Unable to load from the cursor theme on WSL
I'm running Windows Subsystem for Linux (WSL). There I run Visual Studio Code (VSC).
C:\Users\user>wsl --version
WSL: 2.6.3.0
core: 6.6.87.2-1
WSLg: 1.0.71
MSRDC: 1.2.6353
Direct3D: 1.611.1-81528511
DXCore: 10.0.26100... | https://stackoverflow.com/questions/79974249/flutter-application-wont-relaunch-after-gdk-message-unable-to-load-from-the-cu | linux, flutter, windows-subsystem-for-linux | 1,783,114,161 |
se_71697237 | stackoverflow | MOBILE_DEVELOPMENT | How do i know the latest version of dart environment sdk | How do i know the latest version of dart environment sdk
I have the following image from pubspec.yaml file and I am confused about these versions in the red circle.
How to know what is the latest versions of these release numbers .. | https://stackoverflow.com/questions/71697237/how-do-i-know-the-latest-version-of-dart-environment-sdk | flutter, dart | 1,648,749,860 |
se_64117504 | stackoverflow | MOBILE_DEVELOPMENT | How can I import other dart file to stateful widget in flutter? | How can I import other dart file to stateful widget in flutter?
I'm new to flutter and trying to learn it.
I have main.dart in lib, HomePage.dart in lib>ui>screens, and Widgets.dart in lib>ui>widgets.
I imported the HomePage.dart to main.dart, and what I want is importing Widgets.dart to HomePage.dart.
HomePage.dart c... | https://stackoverflow.com/questions/64117504/how-can-i-import-other-dart-file-to-stateful-widget-in-flutter | android, ios, flutter, dart | 1,601,374,476 |
se_51081470 | stackoverflow | MOBILE_DEVELOPMENT | Flutter update cart item list while removing duplicate entries | Flutter update cart item list while removing duplicate entries
I am working with a shopping cart app and using flutter_redux to update my cart. Everything is working good but I am getting duplicate items in my cart list, How can I remove these duplicate entries and add quantities. I want to get the list with the items... | https://stackoverflow.com/questions/51081470/flutter-update-cart-item-list-while-removing-duplicate-entries | dart, e-commerce, flutter, cart | 1,530,184,407 |
se_79956723 | stackoverflow | MOBILE_DEVELOPMENT | How to create adaptive card with positioned text/buttons in Flutter? | How to create adaptive card with positioned text/buttons in Flutter?
What I want to achieve is this:
I want to understand how I should approach coding this in Flutter. There are just too many widgets and I am not sure what combination of widgets/properties is needed for this.
I mean, I can eyeball it, which is semi-w... | https://stackoverflow.com/questions/79956723/how-to-create-adaptive-card-with-positioned-text-buttons-in-flutter | flutter | 1,781,202,402 |
se_76610625 | stackoverflow | MOBILE_DEVELOPMENT | Flutter xcodebuild: error: Unable to find a destination matching the provided destination specifier | Flutter xcodebuild: error: Unable to find a destination matching the provided destination specifier
I have built a Flutter app.
Everything was working fine until I tried to launch it on a physical device. After struggling to find a solution, I changed the Xcode configuration from debug to release and I am now able to ... | https://stackoverflow.com/questions/76610625/flutter-xcodebuild-error-unable-to-find-a-destination-matching-the-provided-de | flutter, xcode, ios-simulator | 1,688,458,651 |
se_63753220 | stackoverflow | MOBILE_DEVELOPMENT | How to open or switch between files in Android Studio using shortcuts | How to open or switch between files in Android Studio using shortcuts
I'm using Android Studio for developing Flutter apps. I use multiple files but find it hard to locate them in the project folder every time I have to open them (again).
Is there a way to open files in Android Studio with a shortcut? | https://stackoverflow.com/questions/63753220/how-to-open-or-switch-between-files-in-android-studio-using-shortcuts | android-studio, flutter, shortcut | 1,599,303,963 |
se_79968119 | stackoverflow | MOBILE_DEVELOPMENT | RxFlare performance issue with very large ListView (nearly 10 million items) – high memory usage and slow rebuilds | RxFlare performance issue with very large ListView (nearly 10 million items) – high memory usage and slow rebuilds
I'm testing the performance of RxFlare with a very large list. I want to understand its limits and best practices for fine-grained reactivity on large datasets.
import 'package:flutter/material.dart';
imp... | https://stackoverflow.com/questions/79968119/rxflare-performance-issue-with-very-large-listview-nearly-10-million-items-h | flutter, performance, performance-testing, state-management | 1,782,444,052 |
se_57978167 | stackoverflow | MOBILE_DEVELOPMENT | Trim String/Text in Flutter | Trim String/Text in Flutter
Hi I tried to trim a link in flutter
Currently I am looking into regexp but I think that is not possible
This is the link in full:
http://sales.local/api/v1/payments/454/ticket/verify?token=jhvycygvjhbknm.eyJpc3MiOiJodH
What I am trying to do is to trim the link like this:
http://sale... | https://stackoverflow.com/questions/57978167/trim-string-text-in-flutter | regex, flutter, dart | 1,568,736,514 |
se_79011256 | stackoverflow | MOBILE_DEVELOPMENT | PlatformException(channel-error, Unable to establish connection on channel., null, null) xcode | PlatformException(channel-error, Unable to establish connection on channel., null, null) xcode
I am working on the iOS version of my flutter app. I am getting multiple errors like PlatformException channel-error when I am using path provider of flutter. For shared preferences package of flutter I am getting the error
... | https://stackoverflow.com/questions/79011256/platformexceptionchannel-error-unable-to-establish-connection-on-channel-nul | ios, flutter, sharedpreferences | 1,726,995,621 |
se_79968317 | stackoverflow | MOBILE_DEVELOPMENT | MSAL Flutter (msal_auth 3.5.0) returns home tenant ID instead of client tenant ID in multi‑tenant setup | MSAL Flutter (msal_auth 3.5.0) returns home tenant ID instead of client tenant ID in multi‑tenant setup
I’m integrating MSAL authentication in a Flutter app using the msal_auth: ^3.5.0 plugin with Flutter SDK 3.38.2.
I have a Microsoft account with my organization’s domain.
The same account has been added as a guest... | https://stackoverflow.com/questions/79968317/msal-flutter-msal-auth-3-5-0-returns-home-tenant-id-instead-of-client-tenant-i | flutter, single-sign-on | 1,782,476,638 |
se_79958726 | stackoverflow | MOBILE_DEVELOPMENT | What is the best architectural approach for handling BuildContext in Flutter without passing it everywhere or using nullable fallbacks? | What is the best architectural approach for handling BuildContext in Flutter without passing it everywhere or using nullable fallbacks?
In Flutter, I often face a design dilemma when building reusable widgets and service/helper classes that need to show UI elements like dialogs, bottom sheets, or navigation actions.
T... | https://stackoverflow.com/questions/79958726/what-is-the-best-architectural-approach-for-handling-buildcontext-in-flutter-wit | android, flutter, performance, dart, logic | 1,781,415,675 |
se_79968375 | stackoverflow | MOBILE_DEVELOPMENT | flutter push notification sound played repeatedly | flutter push notification sound played repeatedly
I am implementing a custom sound for my push notification. The problem is that when the push notification is sent, the sound is played repeatedly until I user click on the notification icon and it then stopped.
I just want the sound to play once but I still don't know ... | https://stackoverflow.com/questions/79968375/flutter-push-notification-sound-played-repeatedly | flutter, push-notification, firebase-cloud-messaging, awesome-notifications | 1,782,484,953 |
se_58881692 | stackoverflow | MOBILE_DEVELOPMENT | Cannot invoke method allprojects() on null object. A problem occurred evaluating root project 'android' | Cannot invoke method allprojects() on null object. A problem occurred evaluating root project 'android'
I am getting the following error while running my flutter app
What went wrong:
A problem occurred evaluating root project 'android'.
Cannot invoke method allprojects() on null object
Try:
Run with... | https://stackoverflow.com/questions/58881692/cannot-invoke-method-allprojects-on-null-object-a-problem-occurred-evaluating | android, gradle, flutter, dart, build | 1,573,837,758 |
se_79968920 | stackoverflow | MOBILE_DEVELOPMENT | Why does getSingleOrNull() return a non-nullable type in Drift when checking if a user exists? | Why does getSingleOrNull() return a non-nullable type in Drift when checking if a user exists?
According to the database structure, email cannot be null. I want to write a function that checks whether a user with that email already exists, but I'm getting an error
Future<bool> isEmEx(String email) async {
final... | https://stackoverflow.com/questions/79968920/why-does-getsingleornull-return-a-non-nullable-type-in-drift-when-checking-if | flutter, dart | 1,782,645,714 |
se_79936738 | stackoverflow | MOBILE_DEVELOPMENT | url_launcher import error: Target of URI doesn't exist | url_launcher import error: Target of URI doesn't exist
I'm trying to add url_launcher on my Flutter-based payment SDK:
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:webview_flutter/webview_flutter.dart';
import 'package:url_launcher/url_launc... | https://stackoverflow.com/questions/79936738/url-launcher-import-error-target-of-uri-doesnt-exist | flutter, flutter-url-launcher | 1,778,037,919 |
se_49047411 | stackoverflow | MOBILE_DEVELOPMENT | Flutter: How to create a new project | Flutter: How to create a new project
I installed Flutter SDK, following steps, provided from this link: Install on macOS - iOS setup.
But I am unable to create a new sample project in Xcode. I can't find a proper way to start a new project using Xcode.
Here are steps to start a new sample project but not for Xcode: Ge... | https://stackoverflow.com/questions/49047411/flutter-how-to-create-a-new-project | ios, xcode, flutter, visual-studio-code, xcode9.3-beta | 1,519,899,450 |
se_79925639 | stackoverflow | MOBILE_DEVELOPMENT | Architectural patterns for bridging custom C++ drivers to a Flutter HMI on Embedded Linux | Architectural patterns for bridging custom C++ drivers to a Flutter HMI on Embedded Linux
We are developing a high-performance HMI for a custom multicore SoM running an embedded Linux distribution. Our team has extensive mobile development experience with Flutter, and we want to leverage this for the HMI.
Our device i... | https://stackoverflow.com/questions/79925639/architectural-patterns-for-bridging-custom-c-drivers-to-a-flutter-hmi-on-embed | flutter, embedded-linux, yocto | 1,776,200,672 |
se_74661326 | stackoverflow | MOBILE_DEVELOPMENT | launch URL in Flet | launch URL in Flet
I'm using Flet and I want for my app to launch a link when clicking on a button.
According to the docs, I can use launch_url method. But when I tried, I got the following error:
Exception in thread Thread-6 (open_repo):
Traceback (most recent call last):
File "C:\Users\Iqmal\AppData\Local\Programs... | https://stackoverflow.com/questions/74661326/launch-url-in-flet | python, flutter, flet | 1,670,014,357 |
se_78995283 | stackoverflow | MOBILE_DEVELOPMENT | How to get permission to a specific folder in flutter | How to get permission to a specific folder in flutter
I am working on a WhatsApp Status app in Flutter. I was fetching the statuses from the .statuses directory using Manage External Storage permission because with Read External Storage Permission, I am unable to access that directory. But Google Play rejected my app ... | https://stackoverflow.com/questions/78995283/how-to-get-permission-to-a-specific-folder-in-flutter | android, flutter, flutter-dependencies, android-permissions | 1,726,596,007 |
se_79966929 | stackoverflow | MOBILE_DEVELOPMENT | Image carousel slider with custom indicator demo | Image carousel slider with custom indicator demo
je veux faire le carrousel d'un container comprenant une image en background , un texte et un bouton . je souhaite aussi avoir des mouvements de points qui montrent l'evolution du slide.et une duree de 3 secondes par container. | https://stackoverflow.com/questions/79966929/image-carousel-slider-with-custom-indicator-demo | flutter, dart, animation, slider | 1,782,404,331 |
se_79910915 | stackoverflow | MOBILE_DEVELOPMENT | The developer disk image could not be mounted on this device | The developer disk image could not be mounted on this device
I'm trying to run my app on a physical iPhone using Xcode, but I’m getting the following error:
The developer disk image could not be mounted on this device.
Error mounting image: 0xe800010f (kAMDMobileImageMounterPersonalizedBundleMissingVariantError: The... | https://stackoverflow.com/questions/79910915/the-developer-disk-image-could-not-be-mounted-on-this-device | ios, iphone, flutter, xcode | 1,773,951,590 |
se_79332889 | stackoverflow | MOBILE_DEVELOPMENT | How to get the blend mode effect of overlay with blur in flutter? | How to get the blend mode effect of overlay with blur in flutter?
So basically the effect which I'm trying to create is given below which is basically this ellipsis in the top left corner which is getting blended in the background. :
This is my implementation but I'm unable to achieve the desired result.
@override
... | https://stackoverflow.com/questions/79332889/how-to-get-the-blend-mode-effect-of-overlay-with-blur-in-flutter | flutter, user-interface | 1,736,163,157 |
se_47339019 | stackoverflow | MOBILE_DEVELOPMENT | flutter.io (dart) - set padding as a percentage of device width? | flutter.io (dart) - set padding as a percentage of device width?
How can I set padding as a percentage of screen width in Flutter?
The problem I'm trying to solve, I initially tried to solve with AspectRatio and FractionallySizedBox, as well as different attempts with Row and Columns, but the parent is a Positioned wi... | https://stackoverflow.com/questions/47339019/flutter-io-dart-set-padding-as-a-percentage-of-device-width | dart, flutter | 1,510,866,261 |
se_48575552 | stackoverflow | MOBILE_DEVELOPMENT | Conditionally hide status bar if app is in landscape mode | Conditionally hide status bar if app is in landscape mode
In Related question, app can hide the status bar with
SystemChrome.setEnabledSystemUIOverlays([]);
But if I surround that with a media query to detect orientation in the main app, it causes the app to error because there is no material ancestor widget.
... | https://stackoverflow.com/questions/48575552/conditionally-hide-status-bar-if-app-is-in-landscape-mode | dart, flutter | 1,517,544,376 |
se_47443739 | stackoverflow | MOBILE_DEVELOPMENT | Flutter.io (dart) app fails to launch on iOS simulator | Flutter.io (dart) app fails to launch on iOS simulator
I have up-to-date OSX Sierra, up-to-date XCode with applicable plugins, and an iPhone 6 simulator open and ready.
I have followed all the directions at https://flutter.io/setup-macos/#ios-setup.
When I flutter run from Terminal, the app fails to install on the sim... | https://stackoverflow.com/questions/47443739/flutter-io-dart-app-fails-to-launch-on-ios-simulator | ios, iphone, simulator, flutter | 1,511,384,125 |
se_69230513 | stackoverflow | MOBILE_DEVELOPMENT | flutter-download file pdf from URL with dio | flutter-download file pdf from URL with dio
good morning, i'm new in flutter, i want to use package dio to download pdf file from url with button. but when i click the button nothing happens/no notification about download file in my smartphone (but the file was successfully downloaded and saved in data/com.example.but... | https://stackoverflow.com/questions/69230513/flutter-download-file-pdf-from-url-with-dio | android, flutter, dart, dio | 1,631,922,907 |
se_60730596 | stackoverflow | MOBILE_DEVELOPMENT | How to import a jar file into flutter android plugin and use it in Android Studio v3.6.1? | How to import a jar file into flutter android plugin and use it in Android Studio v3.6.1?
I imported a JAR file by creating a libs folder in my project roots -> copy and pasted the JAR file into the libs folder -> right click on the JAR file and click Add As Library.
How do I use the imported JAR in my code? The JAR f... | https://stackoverflow.com/questions/60730596/how-to-import-a-jar-file-into-flutter-android-plugin-and-use-it-in-android-studi | java, android, android-studio, flutter | 1,584,481,131 |
se_79860262 | stackoverflow | MOBILE_DEVELOPMENT | Is there an official API or SDK to integrate Sham Cash with a Flutter mobile app? | Is there an official API or SDK to integrate Sham Cash with a Flutter mobile app?
I’m building a Flutter mobile app and want to add Sham Cash as a payment method.
I searched the official Sham Cash website and documentation but couldn’t find any public API, SDK, or merchant integration guide.
Does Sham Cash provide an ... | https://stackoverflow.com/questions/79860262/is-there-an-official-api-or-sdk-to-integrate-sham-cash-with-a-flutter-mobile-app | flutter, rest, mobile, payment-gateway, payment | 1,767,546,463 |
se_58556811 | stackoverflow | MOBILE_DEVELOPMENT | Reload widget in flutter | Reload widget in flutter
I have an API that returns content and I put this content in a GridView.builder to allow pagination.
I have architected the page in such a way that I have a FutureBuilder on a stateless widget and when the snapshot is done I then pass the snapshot data to a stateful widget to build the grid.
I... | https://stackoverflow.com/questions/58556811/reload-widget-in-flutter | flutter, dart | 1,571,999,446 |
se_79965766 | stackoverflow | MOBILE_DEVELOPMENT | How to properly use the Rx widget in RxFlare for automatic dependency tracking in Flutter? | How to properly use the Rx widget in RxFlare for automatic dependency tracking in Flutter?
I'm using RxFlare (rxflare: ^1.6.4) and trying to understand the core reactive widget Rx(() => ...).
According to the docs, it provides automatic dependency tracking so that only the parts depending on changed observables rebuil... | https://stackoverflow.com/questions/79965766/how-to-properly-use-the-rx-widget-in-rxflare-for-automatic-dependency-tracking-i | flutter | 1,782,206,659 |
se_79965690 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Referral System (2026) - Preserve referral code after Play Store/App Store install | Flutter Referral System (2026) - Preserve referral code after Play Store/App Store install
I'm implementing a referral system in Flutter for both Android and iOS.
Flow:
User A shares a link containing a referral code (?ref=ABC123).
User B clicks the link.
If the app is not installed, the user is redirected to the P... | https://stackoverflow.com/questions/79965690/flutter-referral-system-2026-preserve-referral-code-after-play-store-app-sto | android, ios, flutter, deep-linking, referrer | 1,782,200,587 |
se_59250733 | stackoverflow | MOBILE_DEVELOPMENT | How to get name of the current route? | How to get name of the current route?
I need to get my current route name. I use GlobalKey to create navigatorSevice instead Navigator.of(context) in every page. So I create navKey:
class Keys {
static final GlobalKey<NavigatorState> navKey = GlobalKey<NavigatorState>();
}
And when I want to redirect to another p... | https://stackoverflow.com/questions/59250733/how-to-get-name-of-the-current-route | flutter, flutter-navigation | 1,575,900,940 |
se_71441008 | stackoverflow | MOBILE_DEVELOPMENT | Why I should use named routes? | Why I should use named routes?
I searched a lot about "what are benefits of using named route to navigate between screens". And I can't find any actual benefits, actually it has many disadvantages and annoying.
1. In flutter document, it said that named routes use to avoid code duplication.
For example, if I want to n... | https://stackoverflow.com/questions/71441008/why-i-should-use-named-routes | flutter | 1,647,013,136 |
se_79602479 | stackoverflow | MOBILE_DEVELOPMENT | Android FFmpegKit-Full dependencies missing | Android FFmpegKit-Full dependencies missing
I've tried to compile the app on Android and now it won't run as it can't find these files. I knew the *FFmpegKit *project was going to remove its binaries so I downloaded the package locally but I totally forgot about Android's specific files.
Launching lib\main.dart on sdk... | https://stackoverflow.com/questions/79602479/android-ffmpegkit-full-dependencies-missing | android, flutter, ffmpeg, android-ffmpeg, ffmpegkit | 1,746,130,357 |
se_79964858 | stackoverflow | MOBILE_DEVELOPMENT | Failure to create a new Firebase project: Failure to add Firebase to Google Cloud Platform project. 403 PERMISSION_DENIED | Failure to create a new Firebase project: Failure to add Firebase to Google Cloud Platform project. 403 PERMISSION_DENIED
This is the first time I'm learning Flutter and Firebase.
I tried to create a new project using the command flutterfire configure inside a flutter project named "notes".
And here's what I've got:
P... | https://stackoverflow.com/questions/79964858/failure-to-create-a-new-firebase-project-failure-to-add-firebase-to-google-clou | flutter, firebase, firebase-console, google-cloud-console | 1,782,050,755 |
se_63011389 | stackoverflow | MOBILE_DEVELOPMENT | Editing metadata of music file with dart | Editing metadata of music file with dart
For my Flutter App i want to edit the Metadata of a .mp3 file with dart.
Is there already a package to deal with it?
Thanks for your help! | https://stackoverflow.com/questions/63011389/editing-metadata-of-music-file-with-dart | flutter, dart, metadata, mp3 | 1,595,323,401 |
se_70068652 | stackoverflow | MOBILE_DEVELOPMENT | How to build flutter-debug.apk | How to build flutter-debug.apk
I am a beginner and I need some help. I want to generate a flutter apk of debug mode. When I run 'flutter build apk' it only generates the flutter-release.apk file but I want to generate flutter-debug.apk of the latest code.
Any kind of help is much appreciated. | https://stackoverflow.com/questions/70068652/how-to-build-flutter-debug-apk | flutter, flutter-apk | 1,637,596,552 |
se_79963302 | stackoverflow | MOBILE_DEVELOPMENT | Build cancelled on xcode exited with status code 127 | Build cancelled on xcode exited with status code 127
I'm trying to publish my flutter app on appstore but unfortunately i'm getting build cancelled on xcode with an error exited with status code 127 from flutter project anytime i run build or archive on xcode.
Here is the error logs from xcode:
Showing All Issues
Sc... | https://stackoverflow.com/questions/79963302/build-cancelled-on-xcode-exited-with-status-code-127 | flutter, xcode, mobile-development | 1,781,888,722 |
se_79948657 | stackoverflow | MOBILE_DEVELOPMENT | Is there any other ways to convert a MapEntry to Map? | Is there any other ways to convert a MapEntry to Map?
I'm a beginner at Dart and I was doing a DSA problem to find the frequency of numbers in a list. And I have created a map with numbers as keys and frequencies of that number as its value. And then finally, I want to return the highest frequent number and its freque... | https://stackoverflow.com/questions/79948657/is-there-any-other-ways-to-convert-a-mapentry-to-map | flutter, dart | 1,780,083,583 |
se_79962986 | stackoverflow | MOBILE_DEVELOPMENT | How to change the bottom safe area (home indicator area) color on iOS in Flutter? | How to change the bottom safe area (home indicator area) color on iOS in Flutter?
I'm working on a Flutter application and I want to change the color of the bottom area on iOS (the area behind the home indicator / bottom safe area).
On Android, I was able to change the system navigation bar colorSystemUiOverlayStyle, ... | https://stackoverflow.com/questions/79962986/how-to-change-the-bottom-safe-area-home-indicator-area-color-on-ios-in-flutter | ios, flutter, dart, safearea | 1,781,849,917 |
se_79957043 | stackoverflow | MOBILE_DEVELOPMENT | FCM Notifications implementation in Node Js based Flutter App | FCM Notifications implementation in Node Js based Flutter App
I want to implement a new notification feature in Node Js based Flutter app.
It is a multi vendor app, the app has super_admin login, the admin sends the message to other users, the user sees the messages in the chat (addition the users who paid for premium... | https://stackoverflow.com/questions/79957043/fcm-notifications-implementation-in-node-js-based-flutter-app | flutter, firebase-cloud-messaging, flutter-notification | 1,781,259,275 |
se_79962671 | stackoverflow | MOBILE_DEVELOPMENT | ImageProvider/NetworkImage : fetch metadata with image data, e.g. image bounds for a map overlay? | ImageProvider/NetworkImage : fetch metadata with image data, e.g. image bounds for a map overlay?
I am displaying a map (flutter_map) which displays an image overlay when the user clicks on a point on it. The problem is that the server sending the image overlay sends also JSON metadata which includes how the image sho... | https://stackoverflow.com/questions/79962671/imageprovider-networkimage-fetch-metadata-with-image-data-e-g-image-bounds-f | flutter, dart, fluttermap | 1,781,788,194 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.