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_70606494 | stackoverflow | MOBILE_DEVELOPMENT | Stream listen() method onDone callback not being called | Stream listen() method onDone callback not being called
I can't get the onDone callback of a stream to be triggered.
I've tried cancelling the stream subscription and closing the stream controller but it doesn't work.
Here's a basic example:
Sample Code:
import 'dart:async';
void main() async {
final streamControll... | https://stackoverflow.com/questions/70606494/stream-listen-method-ondone-callback-not-being-called | flutter, dart | 1,641,468,807 |
se_75974590 | stackoverflow | MOBILE_DEVELOPMENT | how to design a vertical carousel sider in flutter | how to design a vertical carousel sider in flutter
i want to implement vertical carousel slider where all my element will come vertically one after another . I tried different way but couldnt finding any efficiecnt solution.
i tried different widget like tranform,stack pageview to solve this problem but couldnt findin... | https://stackoverflow.com/questions/75974590/how-to-design-a-vertical-carousel-sider-in-flutter | flutter, dart, flutter-animation, vertical-scrolling | 1,681,105,970 |
se_77670890 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Horizontal & Vertical Listview To Take Screenshoot | Flutter Horizontal & Vertical Listview To Take Screenshoot
I am trying to achieve a very common behavior nowadays which is vertical & Horizontal screenshoot for my reporting in pdf. Think of something like the report screen Of the app:-
Want to get vertical & Horizontal screenshoot for my reporting in pdf.
i have ... | https://stackoverflow.com/questions/77670890/flutter-horizontal-vertical-listview-to-take-screenshoot | flutter, screenshot, horizontalscrollview, vertical-scrolling | 1,702,729,472 |
se_60033061 | stackoverflow | MOBILE_DEVELOPMENT | Remove extra space from Switch widget | Remove extra space from Switch widget
I'm working on the below screen in a flutter app, but when I use Switch widget it breaks the alignment, because there is hardcoded height and width already defined in flutter.
How can I get rid of the extra space?
Note: same issue also using Radio button or Checkbox | https://stackoverflow.com/questions/60033061/remove-extra-space-from-switch-widget | flutter, material-design | 1,580,703,715 |
se_68943541 | stackoverflow | MOBILE_DEVELOPMENT | Dart: Is there a way to negate and return a boolean in a single line? | Dart: Is there a way to negate and return a boolean in a single line?
Is there a way to write the follwoing funciton as a single line, using the fat arrow (=>) notation?
bool tick() {
_tick = !_tick;
return _tick;
} | https://stackoverflow.com/questions/68943541/dart-is-there-a-way-to-negate-and-return-a-boolean-in-a-single-line | flutter, dart, boolean | 1,630,001,726 |
se_58605494 | stackoverflow | MOBILE_DEVELOPMENT | Check if StreamSubscription is canceled | Check if StreamSubscription is canceled
To put it simple:
How do i check if a StreamSubscription is canceled?
There is no
_myCustomSub.isCanceled | https://stackoverflow.com/questions/58605494/check-if-streamsubscription-is-canceled | flutter, dart, rxdart | 1,572,344,584 |
se_73036825 | stackoverflow | MOBILE_DEVELOPMENT | Google pay button not showing in flutter_stripe package payment sheet | Google pay button not showing in flutter_stripe package payment sheet
I used flutter_stripe: ^3.3.0 to implement stripe payment, everything goes well but I can't see google pay button on top of stripe payment sheet. I have enable google pay according to https://docs.page/flutter-stripe/flutter_stripe/sheet. and below ... | https://stackoverflow.com/questions/73036825/google-pay-button-not-showing-in-flutter-stripe-package-payment-sheet | flutter, stripe-payments, flutter-dependencies, google-pay | 1,658,233,264 |
se_78100638 | stackoverflow | MOBILE_DEVELOPMENT | Token retrieval failed: SERVICE_NOT_AVAILABLE. Will retry token retrieval | Token retrieval failed: SERVICE_NOT_AVAILABLE. Will retry token retrieval
void main() async{
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform
);
final _firebaseMessaing = FirebaseMessaging.instance;
await _firebaseMessaing.requestPermission();
... | https://stackoverflow.com/questions/78100638/token-retrieval-failed-service-not-available-will-retry-token-retrieval | android, flutter, firebase, firebase-cloud-messaging | 1,709,548,886 |
se_78100638 | stackoverflow | MOBILE_DEVELOPMENT | Token retrieval failed: SERVICE_NOT_AVAILABLE. Will retry token retrieval | Token retrieval failed: SERVICE_NOT_AVAILABLE. Will retry token retrieval
void main() async{
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform
);
final _firebaseMessaing = FirebaseMessaging.instance;
await _firebaseMessaing.requestPermission();
... | https://stackoverflow.com/questions/78100638/token-retrieval-failed-service-not-available-will-retry-token-retrieval | android, flutter, firebase, firebase-cloud-messaging | 1,709,548,886 |
se_79922105 | stackoverflow | MOBILE_DEVELOPMENT | Cannot find `flutter.bat` after download Flutter on Windows | Cannot find `flutter.bat` after download Flutter on Windows
I've down loaded flutter_windows_3.41.6 stable, extracted into a folder properly, and the flutter.bat is not in the bin where it is supposed to be. in fact i can not find it in any file. i have checked my security to see if it was quarantined and it is not. | https://stackoverflow.com/questions/79922105/cannot-find-flutter-bat-after-download-flutter-on-windows | flutter, windows | 1,775,640,533 |
se_79583655 | stackoverflow | MOBILE_DEVELOPMENT | Build a Flutter project on a machine without access to pub.dev | Build a Flutter project on a machine without access to pub.dev
I need to develop and run a Flutter app on a machine that cannot reach pub.dev.
What I’ve done so far:
On an unrestricted machine, I downloaded the Flutter SDK and ran:
flutter --version
flutter precache
flutter pub get
I copied the entire Flutter SDK f... | https://stackoverflow.com/questions/79583655/build-a-flutter-project-on-a-machine-without-access-to-pub-dev | flutter, pub.dev | 1,745,174,877 |
se_79921605 | stackoverflow | MOBILE_DEVELOPMENT | Firebase isn't allowing coworker's flutter to authorize | Firebase isn't allowing coworker's flutter to authorize
I'm making an app in Flutter and dealt with this issue myself, but I solved it by adding my SHA keys to the project. I tried doing the same for him, verifying the package name, doing a pub get -> clean, clearing app storage in android emulator, deleting a... | https://stackoverflow.com/questions/79921605/firebase-isnt-allowing-coworkers-flutter-to-authorize | flutter, firebase | 1,775,571,875 |
se_68942071 | stackoverflow | MOBILE_DEVELOPMENT | key.properties flutter APK build | key.properties flutter APK build
I followed the instructions here Exactly.
this is my key.properties file:
this is my build.gradle file:
this is the error:
I even printed the file value and it is still wrong and not working. I tried the suggestions in the similar questions but they are not working for me. | https://stackoverflow.com/questions/68942071/key-properties-flutter-apk-build | java, android, flutter, dart, build | 1,629,994,559 |
se_78116272 | stackoverflow | MOBILE_DEVELOPMENT | Multiple build operations failed | Multiple build operations failed
I am very much asking for help. I have been struggling with this problem for several months. I am trying to perform various methods that I found on the Internet and nothing helps. I always get this error:
Multiple build operations failed.
Could not create task ':flutter_plugin_andr... | https://stackoverflow.com/questions/78116272/multiple-build-operations-failed | android, flutter, dart | 1,709,745,526 |
se_79921574 | stackoverflow | MOBILE_DEVELOPMENT | flutter doctor timeout in docker vscode devcontainer | flutter doctor timeout in docker vscode devcontainer
I'm trying to setup a docker devcontainer in VSCode for Flutter Linux desktop development. The target is ubuntu 26.04. Both Flutter and Docker Devcontainers are new to me. I've been reading the online documentation, but I've hit issues that I could use some help wit... | https://stackoverflow.com/questions/79921574/flutter-doctor-timeout-in-docker-vscode-devcontainer | flutter, git, docker, ubuntu, vscode-devcontainer | 1,775,568,007 |
se_79901559 | stackoverflow | MOBILE_DEVELOPMENT | Device token not fetching in specific devices + flutter | Device token not fetching in specific devices + flutter
I am having a flutter app where device token is fetched during the start of the app. This is working fine in almost all devices except for few. When we reached out the users, we found that this issue occurs only in redmi devices. This felt very strange. Below is ... | https://stackoverflow.com/questions/79901559/device-token-not-fetching-in-specific-devices-flutter | flutter, sdk, firebase-cloud-messaging, devicetoken, redmi-device | 1,772,713,330 |
se_71047542 | stackoverflow | MOBILE_DEVELOPMENT | Is it possible to make a layout auto adjust from Row layout to Column layout while changing windows size in browser? | Is it possible to make a layout auto adjust from Row layout to Column layout while changing windows size in browser?
I am trying to create a Flutter web App. I have created a Row Layout with Form with 3 TextFormFields.
My Requirement is: If I change the web page's window size from big to small, the TextFormFields shou... | https://stackoverflow.com/questions/71047542/is-it-possible-to-make-a-layout-auto-adjust-from-row-layout-to-column-layout-whi | flutter, dart | 1,644,401,075 |
se_79917559 | stackoverflow | MOBILE_DEVELOPMENT | Sparkle not updating app name in Finder/Dock after macOS rename when using Flutter auto_updater | Sparkle not updating app name in Finder/Dock after macOS rename when using Flutter auto_updater
I’m working on a Flutter desktop application for macOS and using the auto_updater package (which internally uses Sparkle) for handling OTA updates.
We recently introduced a change where the app name (bundle display name) ha... | https://stackoverflow.com/questions/79917559/sparkle-not-updating-app-name-in-finder-dock-after-macos-rename-when-using-flutt | flutter, ota, sparkle, app-update | 1,774,937,898 |
se_79916320 | stackoverflow | MOBILE_DEVELOPMENT | Embedded Flutter Dropdown/Overlay Web Element clipped by parent HTML element constraints | Embedded Flutter Dropdown/Overlay Web Element clipped by parent HTML element constraints
I am implementing Flutter Web Multi-View Embedding to integrate independent Flutter components into a React.js frontend. Following the official documentation, I am initializing each Flutter widget into its own specific HTML host e... | https://stackoverflow.com/questions/79916320/embedded-flutter-dropdown-overlay-web-element-clipped-by-parent-html-element-con | javascript, html, css, flutter, dart | 1,774,721,515 |
se_79920385 | stackoverflow | MOBILE_DEVELOPMENT | How to control other app through Flutter app? | How to control other app through Flutter app?
I spend a lot of time on YouTube every day. This is very alarming for me, and this is why I want to build a Flutter app where the time phone usage will be calculated, and after 2 hours of using the phone in a day, my YouTube will be locked for the whole day, and it will be... | https://stackoverflow.com/questions/79920385/how-to-control-other-app-through-flutter-app | android, flutter, background-service, auto-lock | 1,775,373,113 |
se_79526902 | stackoverflow | MOBILE_DEVELOPMENT | Got TLS error trying to find package. TLS Error When Running flutter doctor or pub upgrade | Got TLS error trying to find package. TLS Error When Running flutter doctor or pub upgrade
I recently updated Flutter to version 3.29.2, and since then, I have been experiencing issues when running flutter doctor or pub upgrade. The error message I receive is:
flutter doctor
Building flutter tool.
Running pub upgrade ... | https://stackoverflow.com/questions/79526902/got-tls-error-trying-to-find-package-tls-error-when-running-flutter-doctor-or-p | flutter, dart | 1,742,614,285 |
se_52019148 | stackoverflow | MOBILE_DEVELOPMENT | I have two widgets -- is it possible to scroll them together? | I have two widgets -- is it possible to scroll them together?
I have two widgets in which one has a vertical listview. Is it possible to scroll both widgets together?
Below is my code:
@override
Widget build(BuildContext context) {
var deviceSize = MediaQuery.of(context).size;
return Container(
chil... | https://stackoverflow.com/questions/52019148/i-have-two-widgets-is-it-possible-to-scroll-them-together | flutter, scroll | 1,535,214,198 |
se_79920411 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Web Firebase (No Firebase App '[DEFAULT]' has been created) | Flutter Web Firebase (No Firebase App '[DEFAULT]' has been created)
The problem occurs when integrating Firebase into Flutter Web.
Firebase cannot be initialized within Flutter Web.
The console error is shown below.
The main and index source files are below.
Error:
FirebaseError: Firebase: No Firebase App '[DE... | https://stackoverflow.com/questions/79920411/flutter-web-firebase-no-firebase-app-default-has-been-created | flutter, firebase | 1,775,378,632 |
se_79920532 | stackoverflow | MOBILE_DEVELOPMENT | How to call setState when the Navigator.push is not in scope? | How to call setState when the Navigator.push is not in scope?
I have a MainScreen that has a custom AppBar. That AppBar contains the button to the SettingsScreen. I want the following behavior: after the user leaves the SettingsScreen via the usual back-button/gesture they return to the MainScreen that refreshed accor... | https://stackoverflow.com/questions/79920532/how-to-call-setstate-when-the-navigator-push-is-not-in-scope | flutter | 1,775,404,817 |
se_79920803 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Mobile Scanner shows black screen after scanning barcode | Flutter Mobile Scanner shows black screen after scanning barcode
Flutter Mobile Scanner shows black screen after scanning barcode
I am using the mobile_scanner package in Flutter to scan barcodes. The scanner works correctly for detecting the barcode, but after scanning, the screen turns black and does not recover pro... | https://stackoverflow.com/questions/79920803/flutter-mobile-scanner-shows-black-screen-after-scanning-barcode | android, flutter, barcode-scanner | 1,775,462,986 |
se_66380613 | stackoverflow | MOBILE_DEVELOPMENT | How to make a delayed future cancelable in Dart? | How to make a delayed future cancelable in Dart?
Lets say that in Dart/Flutter you have the following code:
void myOperation() {
// could be anything
print('you didn't cancel me!');
}
Notice that the operation itself is not asynchronous and is void -- does not return anything.
We want it to execute at some point ... | https://stackoverflow.com/questions/66380613/how-to-make-a-delayed-future-cancelable-in-dart | flutter, dart, asynchronous, future | 1,614,317,384 |
se_79909866 | stackoverflow | MOBILE_DEVELOPMENT | My Android application is displaying notification twice when app is in terminated state | My Android application is displaying notification twice when app is in terminated state
I have developed my application in flutter. iOS worked fine but Android application is displaying notification twice when my application is in terminated state.
I have review that, only Google Play Store application displaying noti... | https://stackoverflow.com/questions/79909866/my-android-application-is-displaying-notification-twice-when-app-is-in-terminate | android, flutter, firebase-cloud-messaging | 1,773,828,571 |
se_78272849 | stackoverflow | MOBILE_DEVELOPMENT | Go Router (Flutter) Reloads Current Page When Pushing to Another Page | Go Router (Flutter) Reloads Current Page When Pushing to Another Page
I'm facing an issue with Go Router in Flutter where the current page gets reloaded when pushing to a new page. Specifically, when I'm on the "/home" page (which is a part of a shell route) and push to the "/staff_profile" page using context.push, th... | https://stackoverflow.com/questions/78272849/go-router-flutter-reloads-current-page-when-pushing-to-another-page | flutter, flutter-go-router | 1,712,222,335 |
se_64179062 | stackoverflow | MOBILE_DEVELOPMENT | Flutter place a button in the middle of BottomNavigationBar Widget | Flutter place a button in the middle of BottomNavigationBar Widget
I have this code.
bottomNavigationBar: BottomNavigationBar(
type: BottomNavigationBarType.fixed,
items: const <BottomNavigationBarItem>[
BottomNavigationBarItem(
icon: Icon(Icons.restaurant_menu),
title: Text('Recipes'),
... | https://stackoverflow.com/questions/64179062/flutter-place-a-button-in-the-middle-of-bottomnavigationbar-widget | flutter | 1,601,678,760 |
se_79897528 | stackoverflow | MOBILE_DEVELOPMENT | OpenAI Realtime API via WebRTC receives random voice input when user is silent – possible speaker echo or background noise | OpenAI Realtime API via WebRTC receives random voice input when user is silent – possible speaker echo or background noise
Problem
I'm building a Flutter app using the OpenAI Realtime API over WebRTC (with flutter_webrtc) for live voice chat. The system often receives and transcribes user speech when nobody is speakin... | https://stackoverflow.com/questions/79897528/openai-realtime-api-via-webrtc-receives-random-voice-input-when-user-is-silent | flutter, webrtc, openai-api, flutter-webrtc, echo-cancellation | 1,772,166,010 |
se_51679269 | stackoverflow | MOBILE_DEVELOPMENT | Waiting for another flutter command to release the startup lock | Waiting for another flutter command to release the startup lock
When I run my flutter application it show
Waiting for another flutter command to release the startup lock
this messages and not proceed further. | https://stackoverflow.com/questions/51679269/waiting-for-another-flutter-command-to-release-the-startup-lock | flutter, command, lockfile | 1,533,325,761 |
se_79781216 | stackoverflow | MOBILE_DEVELOPMENT | How to change Flutter app icon dynamically at runtime like Google Calendar? | How to change Flutter app icon dynamically at runtime like Google Calendar?
I’m building a Flutter app and I want to change the app icon dynamically at runtime, similar to how Google Calendar or some other apps update their icons based on the date or events.
For example:
Google Calendar shows the current date on its ... | https://stackoverflow.com/questions/79781216/how-to-change-flutter-app-icon-dynamically-at-runtime-like-google-calendar | flutter, icons | 1,759,431,051 |
se_79870067 | stackoverflow | MOBILE_DEVELOPMENT | "flutter run" starts the app but no logs / hot reload / debug output any more | "flutter run" starts the app but no logs / hot reload / debug output any more
I’m new to Flutter and I’ve been working on a project for about three months. Everything was working fine until today.
Normally, when I run flutter run, Flutter auto-detects my physical device (Honor phone with USB debugging enable... | https://stackoverflow.com/questions/79870067/flutter-run-starts-the-app-but-no-logs-hot-reload-debug-output-any-more | android, flutter, dart, gradle, dart-pub | 1,768,651,753 |
se_79894394 | stackoverflow | MOBILE_DEVELOPMENT | Testers unable to install app via aab link but can install apk | Testers unable to install app via aab link but can install apk
I'm in testing phase of my android app. I've uploaded and aab for internal testing and shared link with the testers but a few testers report, they see the message "This app isn't available for your device because it was made for an older version of android... | https://stackoverflow.com/questions/79894394/testers-unable-to-install-app-via-aab-link-but-can-install-apk | android, flutter, apk, android-bundle, google-play-internal-testing | 1,771,830,443 |
se_51487818 | stackoverflow | MOBILE_DEVELOPMENT | Set timeout for HTTPClient get() request | Set timeout for HTTPClient get() request
This method submits a simple HTTP request and calls a success or error callback just fine:
void _getSimpleReply( String command, callback, errorCallback ) async {
try {
HttpClientRequest request = await _myClient.get( _serverIPAddress, _serverPort, '/' );
... | https://stackoverflow.com/questions/51487818/set-timeout-for-httpclient-get-request | flutter, dart, callback, httprequest | 1,532,383,712 |
se_70622752 | stackoverflow | MOBILE_DEVELOPMENT | Cancel file download with http response in Flutter | Cancel file download with http response in Flutter
I need to cancel download process while file downloading.
final http.Response responseData =
await http.get("URL_HEAR");
How can I stop/abort current running download file. I am newbie in flutter. Can anyone help me out this. | https://stackoverflow.com/questions/70622752/cancel-file-download-with-http-response-in-flutter | flutter, dart, flutter-http | 1,641,566,018 |
se_54018383 | stackoverflow | MOBILE_DEVELOPMENT | How to cancel ongoing file upload sent with http.MultipartRequest() in Flutter? | How to cancel ongoing file upload sent with http.MultipartRequest() in Flutter?
I'm trying to add cancel functionality to file upload in my Flutter app. I'm currently using http.MultipartRequest() from http package to upload the file. I've tried wrapping the upload with CancelableOperation but it only cancels the inte... | https://stackoverflow.com/questions/54018383/how-to-cancel-ongoing-file-upload-sent-with-http-multipartrequest-in-flutter | http, file-upload, dart, flutter | 1,546,502,354 |
se_65590872 | stackoverflow | MOBILE_DEVELOPMENT | Cancel request in dart | Cancel request in dart
I am using http package in flutter to send http request, for uploading and downloading I am using client.send and MultipartRequest
I want to know is it possible to cancel upload/download request without closing client client.close? | https://stackoverflow.com/questions/65590872/cancel-request-in-dart | flutter, dart | 1,609,912,433 |
se_62767721 | stackoverflow | MOBILE_DEVELOPMENT | How to cancel or pseudo cancel an HTTP request? | How to cancel or pseudo cancel an HTTP request?
I have a search bar, and when characters are entered, it sends a request to a BLoC, which then requests data from a Future.
Here is the BLoC
import 'dart:async';
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:stockrails/model... | https://stackoverflow.com/questions/62767721/how-to-cancel-or-pseudo-cancel-an-http-request | flutter, dart | 1,594,092,720 |
se_79918257 | stackoverflow | MOBILE_DEVELOPMENT | Google Play Billing Policy – Redirecting Users to Website for Dynamic Course Pricing (Flutter App) | Google Play Billing Policy – Redirecting Users to Website for Dynamic Course Pricing (Flutter App)
I’m developing a Flutter-based educational app that offers paid courses for exam preparation. The pricing for these courses is dynamic (varies per course), which doesn’t align well with Google Play’s fixed in-app product... | https://stackoverflow.com/questions/79918257/google-play-billing-policy-redirecting-users-to-website-for-dynamic-course-pri | android, flutter, google-play-services | 1,775,035,598 |
se_79918543 | stackoverflow | MOBILE_DEVELOPMENT | AdMob ads stop showing in production application | AdMob ads stop showing in production application
I published my Flutter app on Google Play 2 days ago. Yesterday I linked the app with AdMob account. I added app-ads.txt in my app and AdMobs show that my app is ready. No ads are show since than. What is strange, until I published my app, I could see both test and real... | https://stackoverflow.com/questions/79918543/admob-ads-stop-showing-in-production-application | android, flutter, google-play, admob | 1,775,062,443 |
se_77273376 | stackoverflow | MOBILE_DEVELOPMENT | Flutter - AutofillGroup and Provider on a login form. How to save password on login successful | Flutter - AutofillGroup and Provider on a login form. How to save password on login successful
Given a widget and using the provider package I would like to know if it's possible to prompt to save the credentials only on a successful event (ie: login).
Here is a relevant snippet of the code
Form _buildLoginAutofillFor... | https://stackoverflow.com/questions/77273376/flutter-autofillgroup-and-provider-on-a-login-form-how-to-save-password-on-lo | flutter, dart, mobile-development | 1,697,029,866 |
se_79916737 | stackoverflow | MOBILE_DEVELOPMENT | Code works in debug mode but not in release mode | Code works in debug mode but not in release mode
I am building this app where a part of it runs OCR on a cropped box on the camera frame. In debug mode it was working perfectly and as expected, but once i build the app, some part seems to not executing the code at all ( expect on it to run OCR, extract text, do some m... | https://stackoverflow.com/questions/79916737/code-works-in-debug-mode-but-not-in-release-mode | flutter, dart | 1,774,815,948 |
se_79918271 | stackoverflow | MOBILE_DEVELOPMENT | Latest supported Flutter version for MacOS 12 Monterey | Latest supported Flutter version for MacOS 12 Monterey
I've had Flutter installed on my mac since at least 2023 (version 3.13.8) and haven't been using it in a long time now. I tried upgrading (newest available 3.41.6) but it got me this error:
Building flutter tool...
VM initialization failed: Current Mac OS X versi... | https://stackoverflow.com/questions/79918271/latest-supported-flutter-version-for-macos-12-monterey | flutter, macos | 1,775,036,907 |
se_56119923 | stackoverflow | MOBILE_DEVELOPMENT | How do I cancel Future.delayed? | How do I cancel Future.delayed?
How can I cancel/stop a Future.delayed? I read this other question: how can i cancel Future.delayed function calling and someone answered with this possible solution: https://dart.academy/how_cancel_future/, but I don't know how to use it in my code, I don't have a List of Data like the... | https://stackoverflow.com/questions/56119923/how-do-i-cancel-future-delayed | dart, flutter | 1,557,781,868 |
se_79469311 | stackoverflow | MOBILE_DEVELOPMENT | App check on flutter web - debug token not working | App check on flutter web - debug token not working
My AppCheck debug token is statically set, and was added to my account under "Manage debug tokens" for my webapp:
Both reCAPTCHA and reCAPTCHA Enterprise are enabled.
My code is as follows:
On main.dart:
await Firebase.initializeApp(options: options);
await Firebase... | https://stackoverflow.com/questions/79469311/app-check-on-flutter-web-debug-token-not-working | flutter, firebase, recaptcha, firebase-app-check | 1,740,564,473 |
se_67368311 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Web - No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app) | Flutter Web - No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app)
I understand there are many very similar questions to this; but none of their solutions work for me. I've tried them all. PS: I expect the problem is something to do with my index.html
Problem: I am usin... | https://stackoverflow.com/questions/67368311/flutter-web-no-firebase-app-default-has-been-created-call-firebase-app-i | firebase, flutter, dart, flutter-web | 1,620,041,911 |
se_79916916 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Windows desktop - correct way to handle OAuth2 client_secret for Google Drive integration | Flutter Windows desktop - correct way to handle OAuth2 client_secret for Google Drive integration
I'm building a Flutter Windows desktop app that integrates with Google Drive.
I'm trying to determine the correct, secure approach for handling OAuth2
client_id and client_secret. We currently fetch credentials from our o... | https://stackoverflow.com/questions/79916916/flutter-windows-desktop-correct-way-to-handle-oauth2-client-secret-for-google | flutter, dart, oauth-2.0, google-drive-api, google-oauth | 1,774,852,914 |
se_51545936 | stackoverflow | MOBILE_DEVELOPMENT | Salesforce Development with Flutter | Salesforce Development with Flutter
I know that Flutter is new, and mobile Salesforce development is somewhat a niche topic, but is there full support for mobile Salesforce development using Flutter? | https://stackoverflow.com/questions/51545936/salesforce-development-with-flutter | mobile, salesforce, flutter | 1,532,631,933 |
se_79918163 | stackoverflow | MOBILE_DEVELOPMENT | I am using In app review Flutter package. (https://pub.dev/packages/in_app_review) | I am using In app review Flutter package. (https://pub.dev/packages/in_app_review)
When using the Flutter in_app_review package on iOS, it’s important to understand how Apple’s in-app review system behaves, especially in TestFlight builds. The review prompt is controlled entirely by the system API (SKStoreReviewContro... | https://stackoverflow.com/questions/79918163/i-am-using-in-app-review-flutter-package-https-pub-dev-packages-in-app-revie | iphone, flutter, android-in-app-review | 1,775,024,589 |
se_62926257 | stackoverflow | MOBILE_DEVELOPMENT | How can I cancel a 'await for' in a flutter / dart bloc | How can I cancel a 'await for' in a flutter / dart bloc
I am using a stream to read out location data in a bloc. I have a start and a stop event. In the stop method, I cancel the stream subscription. When I use listen to a stream to yield the state the inside where the yield statement is never gets called.
S... | https://stackoverflow.com/questions/62926257/how-can-i-cancel-a-await-for-in-a-flutter-dart-bloc | flutter, asynchronous, dart | 1,594,864,627 |
se_74093954 | stackoverflow | MOBILE_DEVELOPMENT | How to fix: No implementation found for method getAll on channel plugins.flutter.io/shared_preferences | How to fix: No implementation found for method getAll on channel plugins.flutter.io/shared_preferences
I have been going at this problem for almost half a day now. I am trying to use Flutter's SharedPreferences package to store key/value in app's storage. When I go to new-up a SharedPreferences through await SharedPre... | https://stackoverflow.com/questions/74093954/how-to-fix-no-implementation-found-for-method-getall-on-channel-plugins-flutter | flutter, dart, sharedpreferences | 1,665,992,480 |
se_76523545 | stackoverflow | MOBILE_DEVELOPMENT | How to use flutter integration testing to complete the Swipe CardField widget | How to use flutter integration testing to complete the Swipe CardField widget
I have a Stripe CardField widget in my app. I am using flutter integration tests and would normally use something like find.byType, or find.byKey, etc, etc, but with CardField, none of the find options seems to work to return a finder which ... | https://stackoverflow.com/questions/76523545/how-to-use-flutter-integration-testing-to-complete-the-swipe-cardfield-widget | flutter, stripe-payments, integration-testing | 1,687,352,301 |
se_79917295 | stackoverflow | MOBILE_DEVELOPMENT | calling flutter from Python with --name | calling flutter from Python with --name
I use this in a bash script:
flutter test --coverage --branch-coverage ut --name tp001
And it works when I invoke the script: do_ut tp001 It only runs tests in the group "tp001". Great, This is what I want.
But I would like to run that command from a python script:
cmd = ['flut... | https://stackoverflow.com/questions/79917295/calling-flutter-from-python-with-name | flutter, unit-testing | 1,774,894,027 |
se_17552757 | stackoverflow | MOBILE_DEVELOPMENT | is there any way to cancel a dart Future? | is there any way to cancel a dart Future?
In a Dart UI, I have a button submit to launch a long async request. The submit handler returns a Future. Next, the button submit is replaced by a button cancel to allow the cancellation of the whole operation. In the cancel handler, I would like to cancel the long operation. ... | https://stackoverflow.com/questions/17552757/is-there-any-way-to-cancel-a-dart-future | flutter, dart, dart-async | 1,373,385,239 |
se_68584993 | stackoverflow | MOBILE_DEVELOPMENT | How to track location in background with Flutter? | How to track location in background with Flutter?
I have been working on a team developing an app in Flutter. We need to track the distance travelled using the GPS but the challenge is that Flutter no longer allows both foreground and background location tracking (even with a coarse level of accuracy).
Based on a revi... | https://stackoverflow.com/questions/68584993/how-to-track-location-in-background-with-flutter | android, ios, flutter, geolocation, location | 1,627,614,528 |
se_79915717 | stackoverflow | MOBILE_DEVELOPMENT | Dart/Flutter hook bundles lib code assets into macOS framework without dot characters | Dart/Flutter hook bundles lib code assets into macOS framework without dot characters
my environment details:
=== dart info ===
- Dart 3.11.1 (stable) (Tue Feb 24 00:03:07 2026 -0800) on "macos_arm64"
- on macos / Version 26.3.1 (a) (Build 25D771280a)
- locale is en-US
#### Project info
- sdk constraint: '^3.11.1'
- d... | https://stackoverflow.com/questions/79915717/dart-flutter-hook-bundles-lib-code-assets-into-macos-framework-without-dot-chara | flutter, macos, dart, build, hook | 1,774,615,285 |
se_73354657 | stackoverflow | MOBILE_DEVELOPMENT | How to make a flutter app run in background? | How to make a flutter app run in background?
I am developing an app which uses an embedded system connected to through Bluetooth to an embedded device and I want the app to run a function when the device sends a signal.
The issue is that I cannot keep the app open all the time and thus need the app to keep running in ... | https://stackoverflow.com/questions/73354657/how-to-make-a-flutter-app-run-in-background | android, ios, flutter, background-process | 1,660,506,187 |
se_71636397 | stackoverflow | MOBILE_DEVELOPMENT | Set default transition for go_router in Flutter | Set default transition for go_router in Flutter
as the docs from go_router describe, it is easy to set pageBuilder-Transitions for single pages.
However, I want to set the default PageTransition for all pages.
How do I set the default page transition with/for go_router in Flutter?
Single Page:
// this is the propos... | https://stackoverflow.com/questions/71636397/set-default-transition-for-go-router-in-flutter | flutter, animation, navigation, transition, gorouter | 1,648,384,807 |
se_79916621 | stackoverflow | MOBILE_DEVELOPMENT | How to implement wall-collision detection for Nvidia NeRF (.glf) models by using Flutter as frontend | How to implement wall-collision detection for Nvidia NeRF (.glf) models by using Flutter as frontend
Iam working on a project of my own which is based on (Nvidia instant NeRF mesh models) I'm using Flutter app for the front-end. The problem that I'm facing is how do I detect wall collision on mesh models .glf, it work... | https://stackoverflow.com/questions/79916621/how-to-implement-wall-collision-detection-for-nvidia-nerf-glf-models-by-using | python, flutter, augmented-reality, arcore | 1,774,797,516 |
se_79898726 | stackoverflow | MOBILE_DEVELOPMENT | Fix opaque rectangular wrapper widget around the CustomDropdown widget in Flutter | Fix opaque rectangular wrapper widget around the CustomDropdown widget in Flutter
I am using flex_color_scheme in my app for the theming the app, and for implementing combo box, I needed to add the animated_custom_dropdown package and use its CustomDropdown widget. With these combined, I am noticing some problems. Whe... | https://stackoverflow.com/questions/79898726/fix-opaque-rectangular-wrapper-widget-around-the-customdropdown-widget-in-flutte | flutter, flutter-dependencies | 1,772,341,355 |
se_66860721 | stackoverflow | MOBILE_DEVELOPMENT | Flutter get current route name, of Navigator, from GlobalKey | Flutter get current route name, of Navigator, from GlobalKey
In my Flutter application I need to know the current path to avoid pushing the same path twice.
I found that I can use the following code:
ModalRoute.of(context).settings.name
It works, but only for the main Navigator.
Since I have a second Navigator in... | https://stackoverflow.com/questions/66860721/flutter-get-current-route-name-of-navigator-from-globalkey | flutter, navigator | 1,617,047,438 |
se_59251850 | stackoverflow | MOBILE_DEVELOPMENT | How to periodically call a function only if it has finished executing the previous time in Dart? | How to periodically call a function only if it has finished executing the previous time in Dart?
I'm making a Flutter app where I need to periodically call a funtion every 5 seconds. Here is my current implementation:
Timer.periodic(markerRefreshInterval, (Timer t) {
print('$markerRefreshInterval seconds over, re... | https://stackoverflow.com/questions/59251850/how-to-periodically-call-a-function-only-if-it-has-finished-executing-the-previo | asynchronous, flutter, dart, stream, future | 1,575,904,853 |
se_71034720 | stackoverflow | MOBILE_DEVELOPMENT | How to throttle events in bloc? | How to throttle events in bloc?
How to throttle events in bloc? Let's say, I want to trigger file save on user input, but perform file system access not more often than once per 100ms?
Example bloc event handler:
on<StoreFile>(_handleStoreEvent); | https://stackoverflow.com/questions/71034720/how-to-throttle-events-in-bloc | flutter, dart, reactive-programming, bloc, state-management | 1,644,326,876 |
se_79843053 | stackoverflow | MOBILE_DEVELOPMENT | API response is in stream. How should I convert that in Dart so I can show it in the UI? | API response is in stream. How should I convert that in Dart so I can show it in the UI?
The thing is this
Response: agent-stream-start:Hello, Faseeh ur Rehman! How can I assist you today?
This is how the response is returned from the call. I am working on a flutter mobile application that uses GPT and other AI agent... | https://stackoverflow.com/questions/79843053/api-response-is-in-stream-how-should-i-convert-that-in-dart-so-i-can-show-it-in | flutter, stream, fastapi | 1,765,376,551 |
se_53097029 | stackoverflow | MOBILE_DEVELOPMENT | Throttle function execution in dart | Throttle function execution in dart
Is there a way in Dart to throttle function execution like this
Observable.throttle(myFunction,2000); | https://stackoverflow.com/questions/53097029/throttle-function-execution-in-dart | dart, flutter, throttling, rxdart | 1,541,058,169 |
se_79915722 | stackoverflow | MOBILE_DEVELOPMENT | Flutter CERTIFICATE_VERIFY_FAILED on Android 13/14 but works perfectly on Android 16 (Sectigo CA) | Flutter CERTIFICATE_VERIFY_FAILED on Android 13/14 but works perfectly on Android 16 (Sectigo CA)
I am developing a Flutter application that communicates with a live API server via HTTPS. The API calls work perfectly on an Android 16 device, but when I test the exact same code on devices running Android 13 or Android ... | https://stackoverflow.com/questions/79915722/flutter-certificate-verify-failed-on-android-13-14-but-works-perfectly-on-androi | android, flutter, dart, ssl, ssl-certificate | 1,774,615,708 |
se_79914882 | stackoverflow | MOBILE_DEVELOPMENT | How to use the real PathProvider in a flutter test? | How to use the real PathProvider in a flutter test?
I have a test like this:
void main() {
TestWidgetsFlutterBinding.ensureInitialized();
group('TabletFoldersTable widget', () {
test("File Handler works", () async {
Directory d = await getSessionDataRootFolder();
expect(d.path, isNotEmpty);
... | https://stackoverflow.com/questions/79914882/how-to-use-the-real-pathprovider-in-a-flutter-test | flutter, path | 1,774,514,901 |
se_79912498 | stackoverflow | MOBILE_DEVELOPMENT | Flutter deploying to Android studio creating prolog error | Flutter deploying to Android studio creating prolog error
I am trying to deploy my first flutter app to an android emulator in vscode/intelij/android studio. All give me the same error. I have been searching and can't find a solution. Deploying to a medium size android emulation. My app works fine in web version. The ... | https://stackoverflow.com/questions/79912498/flutter-deploying-to-android-studio-creating-prolog-error | android, flutter, android-studio, android-emulator | 1,774,226,523 |
se_79843757 | stackoverflow | MOBILE_DEVELOPMENT | What are the options for flutter on embedded arm64 Linux? | What are the options for flutter on embedded arm64 Linux?
I currently have an embedded Linux system (arm64) where I have a flutter GUI inside a docker container.
To achieve this, I've been using sony's flutter-elinux project. I currently build it against a Debian arm64 sysroot roughly like this: `flutter-elinux build ... | https://stackoverflow.com/questions/79843757/what-are-the-options-for-flutter-on-embedded-arm64-linux | linux, flutter, docker, arm64 | 1,765,442,455 |
se_62095623 | stackoverflow | MOBILE_DEVELOPMENT | How can I change the package name in flutter while the application is related to Firebase? | How can I change the package name in flutter while the application is related to Firebase?
I want to change the package name of my android application so that it changes in my project in Firebase.
Is there any solution for that?
Or should I delete it from my Firebase project and re-add it?
Thanks for advance | https://stackoverflow.com/questions/62095623/how-can-i-change-the-package-name-in-flutter-while-the-application-is-related-to | android, firebase, flutter, dart | 1,590,792,232 |
se_50037710 | stackoverflow | MOBILE_DEVELOPMENT | Flutter: Move to a new screen without providing navigate back to previous screen | Flutter: Move to a new screen without providing navigate back to previous screen
I'm implementing an authentication flow in my Flutter app.
After a sign in attempt, the CheckAuth (which checks whether a user is signed in or not and then opens home screen or sign up screen accordingly) is opened with this code:
vo... | https://stackoverflow.com/questions/50037710/flutter-move-to-a-new-screen-without-providing-navigate-back-to-previous-screen | flutter, navigation, screen, navigator | 1,524,729,422 |
se_65874202 | stackoverflow | MOBILE_DEVELOPMENT | What is the difference between existing types of snapshots in Firebase? | What is the difference between existing types of snapshots in Firebase?
As I'm further progressing with my code and my coding experiences in Flutter. I've encountered different types of snapshots, while working with the Firebase API. I'm talking about AsyncSnapshots, QuerySnapshots, DocumentSnapshots and DataSnapshots... | https://stackoverflow.com/questions/65874202/what-is-the-difference-between-existing-types-of-snapshots-in-firebase | flutter, firebase, google-cloud-firestore, firebase-realtime-database, snapshot | 1,611,511,753 |
se_70698392 | stackoverflow | MOBILE_DEVELOPMENT | Stream Position in flutter with Geolocator | Stream Position in flutter with Geolocator
I have a HERE map with various functionality that is operating fine
I have a location indicator that currently operates Geolocator.getCurrentPosition(); which works fine, taking the current lat,long and heading to place indicator.
I want it to update regularly with users loca... | https://stackoverflow.com/questions/70698392/stream-position-in-flutter-with-geolocator | flutter, dart, geolocation | 1,642,084,576 |
se_57793479 | stackoverflow | MOBILE_DEVELOPMENT | Flutter FutureBuilder gets constantly called | Flutter FutureBuilder gets constantly called
I'm experiencing interesting behavior. I have a FutureBuilder in Stateful widget. If I return FutureBuilder alone, everything is ok. My API gets called only once.
However, if I put extra logic, and make a choice between two widgets - I can see in chrome my API gets called t... | https://stackoverflow.com/questions/57793479/flutter-futurebuilder-gets-constantly-called | flutter, dart | 1,567,619,215 |
se_78803143 | stackoverflow | MOBILE_DEVELOPMENT | changes in the settings theme are not immediately reflected in the current UI | changes in the settings theme are not immediately reflected in the current UI
I use the following code to implement multi them in my app, when I changed the them and select a new one, the whole app is changed correctly, except the current view which not changed, what the required modification to make the current view ... | https://stackoverflow.com/questions/78803143/changes-in-the-settings-theme-are-not-immediately-reflected-in-the-current-ui | flutter, flutter-getx, flutter-theme | 1,722,150,146 |
se_65291888 | stackoverflow | MOBILE_DEVELOPMENT | Flutter web HTTP error: "Uncaught (in promise) Error: XMLHttpRequest error" | Flutter web HTTP error: "Uncaught (in promise) Error: XMLHttpRequest error"
I am trying to develop a Flutter app that sends an HTTP request to a remote PHP file hosting on 000webhost.
When I build my Flutter application for desktop, I manage to retrieve the information, everything is fine. However, due to an... | https://stackoverflow.com/questions/65291888/flutter-web-http-error-uncaught-in-promise-error-xmlhttprequest-error | flutter, http | 1,607,960,452 |
se_50244416 | stackoverflow | MOBILE_DEVELOPMENT | How can I pass basic authentication credentials in API calls for a Flutter mobile application? | How can I pass basic authentication credentials in API calls for a Flutter mobile application?
I'm working on a simple Flutter mobile app that needs to call out to an API that uses basic authentication.
I can hit the API in Postman using email and password credentials and it encodes the email and password in Base64 (I... | https://stackoverflow.com/questions/50244416/how-can-i-pass-basic-authentication-credentials-in-api-calls-for-a-flutter-mobil | http, dart, flutter | 1,525,830,623 |
se_79820066 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Android 16KB Page Size Support Issue - Google Play Console Hard Rejection | Flutter Android 16KB Page Size Support Issue - Google Play Console Hard Rejection
I'm hitting a critical roadblock when trying to publish my application via the Google Play Console: My App Bundle is completely rejected with the persistent message:
Your app does not support 16KB memory page sizes.
This is not a warni... | https://stackoverflow.com/questions/79820066/flutter-android-16kb-page-size-support-issue-google-play-console-hard-rejectio | android, flutter, 16kb-page-size | 1,763,126,037 |
se_79914028 | stackoverflow | MOBILE_DEVELOPMENT | Replace default dialer and track calls with recordings? | Replace default dialer and track calls with recordings?
I am working on a Flutter application for a sales team, and I have a couple of requirements related to phone calling functionality.
What I want to achieve:
Build a custom dialer UI inside my Flutter app.
Track all outgoing and incoming calls made by users.
Ide... | https://stackoverflow.com/questions/79914028/replace-default-dialer-and-track-calls-with-recordings | flutter | 1,774,419,442 |
se_74670995 | stackoverflow | MOBILE_DEVELOPMENT | Mongo Dart find documents if a property array doesn't contain an object | Mongo Dart find documents if a property array doesn't contain an object
Here is a example where I'm creating a pipeline to a mongoDB where I'm querying for a documents where 'received_by' array contains a provided user.id.
final pipeline = AggregationPipelineBuilder()
.addStage(Match(where.within('fullDocu... | https://stackoverflow.com/questions/74670995/mongo-dart-find-documents-if-a-property-array-doesnt-contain-an-object | flutter, dart, mongo-dart | 1,670,103,888 |
se_58636942 | stackoverflow | MOBILE_DEVELOPMENT | Is it possible to use .equals() method like Java in Dart | Is it possible to use .equals() method like Java in Dart
I'm a Java developer and the newbie in Dart.
When I compare two objects in Dart, it only has == operator which helps me compare two logical memory addresses of two objects in Dart. How can I compare two objects to be the same like Java without be preparing this... | https://stackoverflow.com/questions/58636942/is-it-possible-to-use-equals-method-like-java-in-dart | flutter, dart, equality | 1,572,496,220 |
se_56639595 | stackoverflow | MOBILE_DEVELOPMENT | How to add rounded border for PopupMenu in Flutter? | How to add rounded border for PopupMenu in Flutter?
Is there any way I could create custom pop up with rounded borders?
This is my current code and design:
child: Container(
child: PopupMenuButton(
onSelected: _savedLocationOptionSelected,
itemBui... | https://stackoverflow.com/questions/56639595/how-to-add-rounded-border-for-popupmenu-in-flutter | flutter, dart, rounded-corners, popupmenu | 1,560,810,273 |
se_79890118 | stackoverflow | MOBILE_DEVELOPMENT | How to check the token in order to keep the user in Home page? | How to check the token in order to keep the user in Home page?
Currently when I open the application, the "Login"-page opens and I can successfully login with the e-mail and password. After being logged in the application redirects the user to the "Home"-page
However,When I Hot Restart , user doesn't seems to be authe... | https://stackoverflow.com/questions/79890118/how-to-check-the-token-in-order-to-keep-the-user-in-home-page | flutter | 1,771,232,975 |
se_62912869 | stackoverflow | MOBILE_DEVELOPMENT | How to turn the whole widget into image using RepaintBoundary in flutter | How to turn the whole widget into image using RepaintBoundary in flutter
I'm using the flutter class RepaintBoundary to export an image out of my flutter widget, it worked great until the list inside this widget extended the visible part in my devices, so I found out that RepaintBoundary only capture the visible part ... | https://stackoverflow.com/questions/62912869/how-to-turn-the-whole-widget-into-image-using-repaintboundary-in-flutter | android, ios, flutter, dart, render | 1,594,808,983 |
se_79914059 | stackoverflow | MOBILE_DEVELOPMENT | problem with flutter cupertino_native navbar | problem with flutter cupertino_native navbar
There is template code, where nav items doesnt display correctly
The last separated icon is too compressed, it doesn't display completely, and long titles are cut off after 2-3 letters and...
It looks like an extra delimiter is being added to the outside or inside, but ther... | https://stackoverflow.com/questions/79914059/problem-with-flutter-cupertino-native-navbar | ios, flutter, navbar, nav, flutter-cupertino | 1,774,423,581 |
se_79913133 | stackoverflow | MOBILE_DEVELOPMENT | How to add closed dynamic libraries to a Flutter app using dart Hooks? | How to add closed dynamic libraries to a Flutter app using dart Hooks?
my environment details:
=== dart info ===
- Dart 3.11.1 (stable) (Tue Feb 24 00:03:07 2026 -0800) on "macos_arm64"
- on macos / Version 26.3.1 (a) (Build 25D771280a)
- locale is en-US
#### Project info
- sdk constraint: '^3.11.1'
- dependencies: co... | https://stackoverflow.com/questions/79913133/how-to-add-closed-dynamic-libraries-to-a-flutter-app-using-dart-hooks | flutter, dart, hook, dylib | 1,774,310,826 |
se_79291639 | stackoverflow | MOBILE_DEVELOPMENT | Waiting for VM Service port to be available | Waiting for VM Service port to be available
I try to run a default app on my Android Studio on an Android emulator with API 35, but each time i run the fluter run -v command, the app is stuck in the line: Waiting for VM Service port to be available, and if I execute flutter run it is stuck at Built build/app/outputs/f... | https://stackoverflow.com/questions/79291639/waiting-for-vm-service-port-to-be-available | flutter, dart, android-studio, android-emulator | 1,734,535,724 |
se_77798215 | stackoverflow | MOBILE_DEVELOPMENT | In Flutter I have a number of same async function running whoose result can come at any time. But I want to process the results sequentially | In Flutter I have a number of same async function running whoose result can come at any time. But I want to process the results sequentially
I have a stream of text, I am converting them in paragraphs and sending it to eleven labs api to fetch audio.
My code :
AudioPlayer _audioPlayer = AudioPlayer();
Concatenatin... | https://stackoverflow.com/questions/77798215/in-flutter-i-have-a-number-of-same-async-function-running-whoose-result-can-come | flutter, asynchronous | 1,704,957,011 |
se_54123097 | stackoverflow | MOBILE_DEVELOPMENT | Flutter how to set container background as transparent color | Flutter how to set container background as transparent color
I found this question but doesn't work for me.
I also play with Opacity widget and decoration color of Container. But didn't find solution It always display white background color when I set it transparent.
Look at below image, Instead of red color it shou... | https://stackoverflow.com/questions/54123097/flutter-how-to-set-container-background-as-transparent-color | dart, flutter, android-alertdialog | 1,547,102,121 |
se_79150232 | stackoverflow | MOBILE_DEVELOPMENT | Flutter status code 403 yet the authorization is correct | Flutter status code 403 yet the authorization is correct
I'm trying to run a flutter htttp function, which runs and sends a json response correctly on postman while using the same bearer token, but when run in my flutter code, it returns header options instead of a json response from the server.
Below is the function... | https://stackoverflow.com/questions/79150232/flutter-status-code-403-yet-the-authorization-is-correct | flutter, http, cors | 1,730,535,279 |
se_77947660 | stackoverflow | MOBILE_DEVELOPMENT | flutter full screen using SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky); not working correctly | flutter full screen using SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky); not working correctly
Trying to set app as full screen using SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
it hides the bottom navigation bar but is inconsistent sometimes a white space appears at the bott... | https://stackoverflow.com/questions/77947660/flutter-full-screen-using-systemchrome-setenabledsystemuimodesystemuimode-immer | flutter, dart, fullscreen | 1,707,222,163 |
se_79913492 | stackoverflow | MOBILE_DEVELOPMENT | How to extract fingerprint features from a regular image (Flutter / Python) for WSQ conversion? | How to extract fingerprint features from a regular image (Flutter / Python) for WSQ conversion?
I’m working on a project where I need to process fingerprint images and convert them into WSQ format.
So far, I already have a working script that converts an image into WSQ format. That part is fine.
However, I’m strugglin... | https://stackoverflow.com/questions/79913492/how-to-extract-fingerprint-features-from-a-regular-image-flutter-python-for | python, flutter, biometrics | 1,774,354,897 |
se_47823409 | stackoverflow | MOBILE_DEVELOPMENT | GridView.builder creates page that scrolls endlessly | GridView.builder creates page that scrolls endlessly
Trying to use an API to build the grid. Everything renders fine but after the last row of tiles the page goes blank & just keeps scrolling & scrolling &... the grid is built like so:
body: new GridView.builder(
gridDelegate: new SliverGridDelegateWithFixedCro... | https://stackoverflow.com/questions/47823409/gridview-builder-creates-page-that-scrolls-endlessly | dart, flutter | 1,513,292,264 |
se_79835452 | stackoverflow | MOBILE_DEVELOPMENT | I am getting this error when I add camera plug in | I am getting this error when I add camera plug in
I am getting this error when I add camera plug in in my pub spec. Yaml
error: Cannot attach type annotations @org.jspecify.annotations.NonNull to SurfaceRequest.mSurfaceRecreationCompleter:
class file for androidx.concurrent.futures.CallbackToFutureAdapter not foun... | https://stackoverflow.com/questions/79835452/i-am-getting-this-error-when-i-add-camera-plug-in | android, flutter, android-camerax, flutter-camera | 1,764,645,465 |
se_79912845 | stackoverflow | MOBILE_DEVELOPMENT | Flutter: How to implement WhatsApp-like BottomNavigationBar with fill animation on tab selection? | Flutter: How to implement WhatsApp-like BottomNavigationBar with fill animation on tab selection?
Body:
I am trying to create a BottomNavigationBar similar to the WhatsApp app.
Expected behavior:
Icons are outlined by default
When a tab is selected, the icon becomes filled
The selected tab has a smooth green fill a... | https://stackoverflow.com/questions/79912845/flutter-how-to-implement-whatsapp-like-bottomnavigationbar-with-fill-animation | flutter, dart, animation, bottomnavigationview | 1,774,274,997 |
se_79911703 | stackoverflow | MOBILE_DEVELOPMENT | How I can handle several hundred millions of characters in flutter app? | How I can handle several hundred millions of characters in flutter app?
I am developing a Flutter application that allows users to edit text content. The use case involves handling very large text data, specifically, a single text document that can contain several hundred millions of characters.
The problem occurs wh... | https://stackoverflow.com/questions/79911703/how-i-can-handle-several-hundred-millions-of-characters-in-flutter-app | flutter | 1,774,060,371 |
se_79912657 | stackoverflow | MOBILE_DEVELOPMENT | Android: Cannot use AudioRecord and SpeechRecognizer together (microphone conflict) but works on iOS | Android: Cannot use AudioRecord and SpeechRecognizer together (microphone conflict) but works on iOS
I am building a Flutter app with native Android code where I:
Record audio using AudioRecord
Perform speech-to-text using Vosk (offline recognition)
This works fine individually, but when I try to:
Record audio AN... | https://stackoverflow.com/questions/79912657/android-cannot-use-audiorecord-and-speechrecognizer-together-microphone-confli | android, flutter, kotlin, speech-recognition, audio-recording | 1,774,256,277 |
se_51238420 | stackoverflow | MOBILE_DEVELOPMENT | How can I use a local Flutter package in another Flutter application? | How can I use a local Flutter package in another Flutter application?
How can I use a local Flutter package in another Flutter application?
I created a package using the following command:
flutter create --template=package my_new_package
And then in my application source code => main.dart
import "package:my_new_packa... | https://stackoverflow.com/questions/51238420/how-can-i-use-a-local-flutter-package-in-another-flutter-application | dart, flutter, flutter-dependencies | 1,531,112,150 |
se_55699545 | stackoverflow | MOBILE_DEVELOPMENT | Prevent concurrent access to the same data in Dart | Prevent concurrent access to the same data in Dart
I'm trying to create a file cache in Dart (Flutter), where a file only gets downloaded once and then cached for future requests. (Yes, I know there are existing packages for this, but my needs are more specific.)
Problem is, if I have two widgets on the same page try... | https://stackoverflow.com/questions/55699545/prevent-concurrent-access-to-the-same-data-in-dart | dart, flutter | 1,555,380,127 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.