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_58937078 | stackoverflow | MOBILE_DEVELOPMENT | how to create conditional statement with string in Flutter? | how to create conditional statement with string in Flutter?
I am trying to create an app with a flutter on android studio 3.5.2, everything is fully updated,
the concept is this, There is a text field, and a Submit button,
and within the submit button, three strings/text needs to be valid to get inside,
if somebody ... | https://stackoverflow.com/questions/58937078/how-to-create-conditional-statement-with-string-in-flutter | string, if-statement, flutter, conditional-statements, textfield | 1,574,176,047 |
se_79962371 | stackoverflow | MOBILE_DEVELOPMENT | Refactoring a Flutter Service for Better Code Quality | Refactoring a Flutter Service for Better Code Quality
import 'dart:convert' as convert;
import 'package:flutter_revisao_2bi_ads5sn/cliente_model.dart';
import 'package:http/http.dart' as http;
class ClienteService {
List<ClienteModel> _clientes = [];
Future<List<ClienteModel>> retornarClientes() async {
var... | https://stackoverflow.com/questions/79962371/refactoring-a-flutter-service-for-better-code-quality | flutter | 1,781,731,407 |
se_69576774 | stackoverflow | MOBILE_DEVELOPMENT | How to specify build variant while running integration test? | How to specify build variant while running integration test?
I need to run my app with build variants config. Like this
flutter run --flavor dev
I've added some integration_tests, for running those I tried to use this command
flutter test integration_test/login_test.dart
How can I specify my build variants here whi... | https://stackoverflow.com/questions/69576774/how-to-specify-build-variant-while-running-integration-test | flutter, flutter-test, android-build-flavors, flutter-integration-test | 1,634,242,001 |
se_79957032 | stackoverflow | MOBILE_DEVELOPMENT | Flutter app runs in debug buildbut crashes when in release build with no errors and exceptions. Straight crash when opening | Flutter app runs in debug buildbut crashes when in release build with no errors and exceptions. Straight crash when opening
So if this happened to you, you might want to consider this.
The problem (for me but it could happen to you) is that I used libraries like ffmpeg_kit_flutter_new and just_audio. Somehow, R8 which... | https://stackoverflow.com/questions/79957032/flutter-app-runs-in-debug-buildbut-crashes-when-in-release-build-with-no-errors | android, ios, flutter, dart, mobile | 1,781,258,702 |
se_59516408 | stackoverflow | MOBILE_DEVELOPMENT | Flutter App stuck at "Running Gradle task 'assembleDebug'... " | Flutter App stuck at "Running Gradle task 'assembleDebug'... "
When I run the app it get stuck
Launching lib\main.dart on Lenovo A319 in debug mode...
Running Gradle task 'assembleDebug'...
(This is taking an unexpectedly long time.)
It never initialize Gradle nor the dependencies | https://stackoverflow.com/questions/59516408/flutter-app-stuck-at-running-gradle-task-assembledebug | gradle, flutter, yaml, flutter-dependencies | 1,577,585,954 |
se_53142171 | stackoverflow | MOBILE_DEVELOPMENT | What does Underscore "_" before variable name mean for Flutter | What does Underscore "_" before variable name mean for Flutter
with reference to the Flutter tutorial, I encountered an underscore, _.
I know that in Java, _ is used as a naming convention for a private variable.
Does it also apply to Flutter? Noting that there is no public/protected in Flutter.
Will the _ ... | https://stackoverflow.com/questions/53142171/what-does-underscore-before-variable-name-mean-for-flutter | flutter, dart | 1,541,343,861 |
se_79960734 | stackoverflow | MOBILE_DEVELOPMENT | Changing the project base information | Changing the project base information
I created a flutter project but there is a typo in its project name and company name, is there any way to fix it ?
I mean the name we choose while creating the project for the first time. | https://stackoverflow.com/questions/79960734/changing-the-project-base-information | flutter | 1,781,624,377 |
se_79960707 | stackoverflow | MOBILE_DEVELOPMENT | Best practice to build a model object across multiple screens | Best practice to build a model object across multiple screens
So I am learning flutter, one of the features in the app I am building is creating an activity. The creation process spans multiple screens and the object must be stored in Firebase and I am unsure if the way I am doing it goes against the norm.
An activity... | https://stackoverflow.com/questions/79960707/best-practice-to-build-a-model-object-across-multiple-screens | flutter, dart | 1,781,621,578 |
se_79874072 | stackoverflow | MOBILE_DEVELOPMENT | Google signin in flutter always cancel user request | Google signin in flutter always cancel user request
I want to authenticate user using google signin in my app and if the authenticaton is successful, I will send the access token to the server and the server will then create an account to that user using the access token to get the user information. whenever the user ... | https://stackoverflow.com/questions/79874072/google-signin-in-flutter-always-cancel-user-request | flutter, google-signin | 1,769,109,180 |
se_50096734 | stackoverflow | MOBILE_DEVELOPMENT | Flow Layout in flutter example | Flow Layout in flutter example
i want to implement flow layout in flutter i found a class called FLOW in sdk but unable to find sample code on how to use it
here is the layout i am trying to achieve | https://stackoverflow.com/questions/50096734/flow-layout-in-flutter-example | dart, flutter, flutter-layout, flutter-dependencies | 1,525,077,123 |
se_54538603 | stackoverflow | MOBILE_DEVELOPMENT | How to mimic a pressing ENTER on a TextField in Flutter Tests | How to mimic a pressing ENTER on a TextField in Flutter Tests
Given that tester.enterText will allow me to enter the text on a TextField in a flutter test, how would I mock pressing the DONE key on the android keyboard or pressing ENTER on my keyboard inside the textfield?
This would also be equivalent to checking fo... | https://stackoverflow.com/questions/54538603/how-to-mimic-a-pressing-enter-on-a-textfield-in-flutter-tests | dart, flutter, flutter-test | 1,549,383,238 |
se_55101120 | stackoverflow | MOBILE_DEVELOPMENT | Submit TextField in Flutter integration test | Submit TextField in Flutter integration test
I have a simple text field that does something when the user submits the value in the text field:
TextField(
textInputAction: TextInputAction.search,
onSubmitted: onSearchEmail,
)
Simple enough... I'm trying to write an integration test that checks ... | https://stackoverflow.com/questions/55101120/submit-textfield-in-flutter-integration-test | flutter | 1,552,304,623 |
se_49807687 | stackoverflow | MOBILE_DEVELOPMENT | How to load all dart DateFormat locale in flutter? | How to load all dart DateFormat locale in flutter?
In Flutter app, intl package load only 15 languages. However Dart DateFormat support many more. I do not need translation, but need correct DateFormat. How to load all DateFormat locale? | https://stackoverflow.com/questions/49807687/how-to-load-all-dart-dateformat-locale-in-flutter | flutter, dart, internationalization, flutter-intl | 1,523,579,941 |
se_49807687 | stackoverflow | MOBILE_DEVELOPMENT | How to load all dart DateFormat locale in flutter? | How to load all dart DateFormat locale in flutter?
In Flutter app, intl package load only 15 languages. However Dart DateFormat support many more. I do not need translation, but need correct DateFormat. How to load all DateFormat locale? | https://stackoverflow.com/questions/49807687/how-to-load-all-dart-dateformat-locale-in-flutter | flutter, dart, internationalization, flutter-intl | 1,523,579,941 |
se_79959229 | stackoverflow | MOBILE_DEVELOPMENT | How can I connect Gemini to my flutter application? | How can I connect Gemini to my flutter application?
How can I connect Gemini to an app made with vscode flutter that is moderately acceptable? I tried it with the use of the API key but I get the error that that API is not accepted? | https://stackoverflow.com/questions/79959229/how-can-i-connect-gemini-to-my-flutter-application | flutter, visual-studio-code, artificial-intelligence | 1,781,534,389 |
se_79703092 | stackoverflow | MOBILE_DEVELOPMENT | Issue with Flutter infinite_scroll_pagination 5.1.0 fetching first 2 pages at once causing blank display | Issue with Flutter infinite_scroll_pagination 5.1.0 fetching first 2 pages at once causing blank display
I have an issue in my Flutter project, specifically with infinite_scroll_pagination 5.1.0.
I have coded it as per resources found online.
On open of the screen, I notice it fetches the first 2 pages instead of just... | https://stackoverflow.com/questions/79703092/issue-with-flutter-infinite-scroll-pagination-5-1-0-fetching-first-2-pages-at-on | flutter, mobile, pagination | 1,752,652,346 |
se_79957231 | stackoverflow | MOBILE_DEVELOPMENT | SVG not showing in Flutter | SVG not showing in Flutter
I’ve been dealing with this problem for a while now: even though I’m using the flutter_svg package, my SVG file won’t appear in the emulator. The SVG is just a simple droplet icon with an outline, which I wanted to display in the middle of the screen as a test. But absolutely nothing shows u... | https://stackoverflow.com/questions/79957231/svg-not-showing-in-flutter | flutter, dart | 1,781,280,839 |
se_59322261 | stackoverflow | MOBILE_DEVELOPMENT | how to display an error message if email and password is not valid in firebase flutter? | how to display an error message if email and password is not valid in firebase flutter?
i have developed an login page,if the email and password matches from the database it successfully login's and moves to the new page,but if its wrong i want to display an error message email or password doesn't match.
Here's my co... | https://stackoverflow.com/questions/59322261/how-to-display-an-error-message-if-email-and-password-is-not-valid-in-firebase-f | firebase, flutter, dart, firebase-authentication | 1,576,238,669 |
se_55783494 | stackoverflow | MOBILE_DEVELOPMENT | How can I use two versions of Flutter on the same device for different projects? | How can I use two versions of Flutter on the same device for different projects?
I have a stable Flutter channel SDK located at C:\flutter. Which is set at the system environment variables to be the default path for Flutter.
And I'm using the path C:\flutter when creating new Flutter project in IntelliJ for our custom... | https://stackoverflow.com/questions/55783494/how-can-i-use-two-versions-of-flutter-on-the-same-device-for-different-projects | dart, flutter, sdk | 1,555,855,977 |
se_77930622 | stackoverflow | MOBILE_DEVELOPMENT | Passing Value Between 3 Different Screens (2 Bottom Sheet + 1 Screen) Flutter | Passing Value Between 3 Different Screens (2 Bottom Sheet + 1 Screen) Flutter
I'm currently trying to pass value between 3 screens:
Home Screen
Choose House Bottom Sheet
Create Ticket Bottom Sheet
The behavior is in my home screen I have a FAB which on tapped will open the Choose House Bottom Sheet, this BS is used ... | https://stackoverflow.com/questions/77930622/passing-value-between-3-different-screens-2-bottom-sheet-1-screen-flutter | flutter | 1,706,925,079 |
se_79832379 | stackoverflow | MOBILE_DEVELOPMENT | How to build an OCR system in Flutter that can extract structured data from multiple bill formats? | How to build an OCR system in Flutter that can extract structured data from multiple bill formats?
I am trying to build an OCR feature in my Flutter app that can read hotel bills in multiple formats. The challenge is that these bills do not follow a fixed layout. From each bill, I need to extract structured fields suc... | https://stackoverflow.com/questions/79832379/how-to-build-an-ocr-system-in-flutter-that-can-extract-structured-data-from-mult | flutter, artificial-intelligence, flutter-dependencies, ocr, text-extraction | 1,764,318,826 |
se_77274400 | stackoverflow | MOBILE_DEVELOPMENT | " '_Service.xxxx' isn't a valid override of 'Service.xxxx' " when generating retrofit code - Dart | " '_Service.xxxx' isn't a valid override of 'Service.xxxx' " when generating retrofit code - Dart
I'm trying to use Retrofit and its generator to create an API Client service for my Flutter application. But after I run the command dart run build_runner build and the new file is generated,... | https://stackoverflow.com/questions/77274400/service-xxxx-isnt-a-valid-override-of-service-xxxx-when-generating-ret | flutter, dart, retrofit, flutter-dependencies | 1,697,037,752 |
se_79958409 | stackoverflow | MOBILE_DEVELOPMENT | RevenueCat offerings empty — StoreKit returns no products for READY_TO_SUBMIT subscription on both simulator and real device (Flutter/iOS) | RevenueCat offerings empty — StoreKit returns no products for READY_TO_SUBMIT subscription on both simulator and real device (Flutter/iOS)
I'm integrating RevenueCat into a Flutter iOS app. Offerings always fail to load regardless of whether I test on simulator or a real device. StoreKit receives a response but return... | https://stackoverflow.com/questions/79958409/revenuecat-offerings-empty-storekit-returns-no-products-for-ready-to-submit-su | ios, flutter, in-app-purchase, revenuecat | 1,781,333,436 |
se_73598878 | stackoverflow | MOBILE_DEVELOPMENT | How to use menu like FilterChip in Flutter | How to use menu like FilterChip in Flutter
Is there any way to achieve the following effect?
Chips-Material Design 3
I try to use dropdownmenu, but failed
this is my code(flutter 3.3, useMaterial3: true):
ps: forgive my ugly english..
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});
@overr... | https://stackoverflow.com/questions/73598878/how-to-use-menu-like-filterchip-in-flutter | flutter, material-design, flutter-3.0 | 1,662,290,071 |
se_78623570 | stackoverflow | MOBILE_DEVELOPMENT | “xxx.app” cannot be opened because the developer cannot be verified. even though notarization was successfull | “xxx.app” cannot be opened because the developer cannot be verified. even though notarization was successfull
I'm building a MacOS application with Flutter. I'm new to MacOS-Development in general and might need some assistance with all the steps that are necessary to complete before I can successfully publish the app... | https://stackoverflow.com/questions/78623570/xxx-app-cannot-be-opened-because-the-developer-cannot-be-verified-even-though | flutter, xcode, github-actions, notarize, sparkle | 1,718,375,650 |
se_73738960 | stackoverflow | MOBILE_DEVELOPMENT | error build: Command PhaseScriptExecution failed with a nonzero exit code (Xcode 14) | error build: Command PhaseScriptExecution failed with a nonzero exit code (Xcode 14)
I updated Xcode to 14.0, and tried to run flutter app with flutter run.
After a bunch of warnings, flutter fails saying "Could not build the precompiled application for the device."
It's same when I build with Xcode.
In module 'UI... | https://stackoverflow.com/questions/73738960/error-build-command-phasescriptexecution-failed-with-a-nonzero-exit-code-xcode | xcode, flutter | 1,663,292,049 |
se_79387183 | stackoverflow | MOBILE_DEVELOPMENT | How to convert ONNX to TFLite (TTS model Kokoro v0.19) | How to convert ONNX to TFLite (TTS model Kokoro v0.19)
I've spent the weekend trying to convert the Kokoro v0.19 text-to-speech model from the ONNX format to tflite (Tensorflow Lite), so I can use it inside a Flutter app.
Does anyone have experience with converting an AI model from onnx to tflite? Or even better, does... | https://stackoverflow.com/questions/79387183/how-to-convert-onnx-to-tflite-tts-model-kokoro-v0-19 | python, flutter, text-to-speech, onnx, tflite | 1,737,826,547 |
se_79957085 | stackoverflow | MOBILE_DEVELOPMENT | How to integrate Android system Gemini Assistant in a Flutter app to fetch/play content, similar to Spotify? | How to integrate Android system Gemini Assistant in a Flutter app to fetch/play content, similar to Spotify?
I'm building a Flutter app and want to integrate with the Android built-in Gemini Assistant (not the Gemini API) so the assistant can fetch and display content (like a list of songs) and control in-app actions ... | https://stackoverflow.com/questions/79957085/how-to-integrate-android-system-gemini-assistant-in-a-flutter-app-to-fetch-play | android, flutter, google-assistant-sdk, google-gemini, app-actions | 1,781,264,865 |
se_67440953 | stackoverflow | MOBILE_DEVELOPMENT | Visual Studio Code: Supplied javaHome must be a valid directory. You supplied: D:\jdk | Visual Studio Code: Supplied javaHome must be a valid directory. You supplied: D:\jdk
I once had a problem with Flutter and I had to download jdk. I gave it a path D:/jdk but then i made new partition and downloaded it again on C:\Program Files\Java\jdk-16.0.1. Now when I'm running an app in Visual Studio Code there i... | https://stackoverflow.com/questions/67440953/visual-studio-code-supplied-javahome-must-be-a-valid-directory-you-supplied-d | java, flutter, dart, gradle, visual-studio-code | 1,620,417,243 |
se_72289521 | stackoverflow | MOBILE_DEVELOPMENT | Swift pods cannot yet be integrated as static libraries FirebaseCoreInternal-library | Swift pods cannot yet be integrated as static libraries FirebaseCoreInternal-library
I am building an app by Flutter. I got this error message when doing "pod install" or "pod install --repo-update" or "pod update" and the pod install failed and stopped.
The error message:
[!] The following Swift pods cannot yet be i... | https://stackoverflow.com/questions/72289521/swift-pods-cannot-yet-be-integrated-as-static-libraries-firebasecoreinternal-lib | ios, firebase, flutter, cocoapods | 1,652,878,178 |
se_49562344 | stackoverflow | MOBILE_DEVELOPMENT | How to get Map length from another dart file in flutter? | How to get Map length from another dart file in flutter?
This is my code for main.dart file and map.dart file.
Here I am trying to get the length of the Map<> contact from map.dart file in main.dart file after removing some keys from the Map<> contact by clicking "Remove element from map" Button in map.dart file.
I cr... | https://stackoverflow.com/questions/49562344/how-to-get-map-length-from-another-dart-file-in-flutter | dart, flutter | 1,522,345,958 |
se_79581813 | stackoverflow | MOBILE_DEVELOPMENT | Why is Flutter downgrading my objectVersion and LastUpgradeVersion? | Why is Flutter downgrading my objectVersion and LastUpgradeVersion?
I've tried searching for this and even asking ChatGPT but haven't found anything helpful.
I'm a developer working on a Flutter application along with a few other team-members, but I'm the only one having this issue.
Whenever I launch the app (physical... | https://stackoverflow.com/questions/79581813/why-is-flutter-downgrading-my-objectversion-and-lastupgradeversion | ios, flutter, xcode | 1,745,014,695 |
se_62728107 | stackoverflow | MOBILE_DEVELOPMENT | How to post/send XML data instead of JSON in rest API Flutter? | How to post/send XML data instead of JSON in rest API Flutter?
I would like to send/post data in Rest API with Flutter. But I cannot find any solution on how to send XML file with Flutter.
I need to send this data in post API
<?xml version="1.0" encoding="UTF-8"?>
<Request StartDate="2020-07-05" EndDate="2020-07-05" ... | https://stackoverflow.com/questions/62728107/how-to-post-send-xml-data-instead-of-json-in-rest-api-flutter | xml, flutter, post, xml-parsing, send | 1,593,859,269 |
se_61595115 | stackoverflow | MOBILE_DEVELOPMENT | Flutter - set result to return when the user navigates back | Flutter - set result to return when the user navigates back
When calling Navigator.pop() a result can be passed to the previous screen. Is there a way to set the result so that if the user navigates back on their own the result is still returned to the previous page?
I could pass an object to the second page and then... | https://stackoverflow.com/questions/61595115/flutter-set-result-to-return-when-the-user-navigates-back | flutter | 1,588,603,940 |
se_79956625 | stackoverflow | MOBILE_DEVELOPMENT | Updating to a new test version of Android app on Google Play Store failing | Updating to a new test version of Android app on Google Play Store failing
I am building a Flutter app and deploying it to the internal testing track on the Play Store. The app was previously uploaded and installed on a test device. When I upload the new build and tap the Install button from the internal link, the u... | https://stackoverflow.com/questions/79956625/updating-to-a-new-test-version-of-android-app-on-google-play-store-failing | android, flutter, google-play-console | 1,781,192,321 |
se_79956523 | stackoverflow | MOBILE_DEVELOPMENT | Flutter CallKit Incoming: App won't wake up from background (Error 6) or loads with silent audio (Error 561017449) inside InAppWebView on iOS | Flutter CallKit Incoming: App won't wake up from background (Error 6) or loads with silent audio (Error 561017449) inside InAppWebView on iOS
Context & Architecture
I am building a Flutter iOS application using a combination of PushKit/VoIP notifications and flutter_callkit_incoming to manage native calling layout... | https://stackoverflow.com/questions/79956523/flutter-callkit-incoming-app-wont-wake-up-from-background-error-6-or-loads-w | ios, flutter, callkit, flutter-inappwebview | 1,781,181,743 |
se_78682161 | stackoverflow | MOBILE_DEVELOPMENT | type 'Null' is not a subtype of type 'Future<bool>' in flutter | type 'Null' is not a subtype of type 'Future<bool>' in flutter
group('localTodos', () {
final List<TodoModel> todos = [
const TodoModel(id: 1, title: "Test Todo 1", completed: false, userId: 1),
const TodoModel(id: 2, title: "Test Todo 2", completed: true, userId... | https://stackoverflow.com/questions/78682161/type-null-is-not-a-subtype-of-type-futurebool-in-flutter | flutter, dart, debugging, mockito, sharedpreferences | 1,719,573,687 |
se_79951724 | stackoverflow | MOBILE_DEVELOPMENT | Third party payment integration | Third party payment integration
UPI Payment Fails with "Limit Exceeded" for Small Amounts (₹2–₹100)
I have implemented a third-party UPI payment flow in my Flutter app, but payments are failing with a "Limit Exceeded" error even for very small amounts.
Current Flow
User scans a QR code
QR data is parsed successfull... | https://stackoverflow.com/questions/79951724/third-party-payment-integration | android, ios, flutter, payment, upi | 1,780,644,095 |
se_72455552 | stackoverflow | MOBILE_DEVELOPMENT | How can I publish my flutter app in Codemagic to their static pages without using Workflow Editor | How can I publish my flutter app in Codemagic to their static pages without using Workflow Editor
I am able to publish my flutter app to the Codemagic static pages. I go into workflow editor under distribution and I can set it up. I want to get away from workflow editor and use their codemagic.yaml file instead. Wh... | https://stackoverflow.com/questions/72455552/how-can-i-publish-my-flutter-app-in-codemagic-to-their-static-pages-without-usin | flutter, continuous-integration, codemagic | 1,654,046,704 |
se_67928078 | stackoverflow | MOBILE_DEVELOPMENT | Helvetica has no Unicode support flutter Using Pdf package | Helvetica has no Unicode support flutter Using Pdf package
i am trying to use pdf in my flutter project but getting error
Helvetica has no Unicode support see https://github.com/DavBfr/dart_pdf/wiki/Fonts-Management
i just copy the sample from the flutter package page and got this error
i tried to use fonts from the... | https://stackoverflow.com/questions/67928078/helvetica-has-no-unicode-support-flutter-using-pdf-package | flutter, pdf-generation | 1,623,357,034 |
se_69849699 | stackoverflow | MOBILE_DEVELOPMENT | Firebase Crashlytics/Analytics not working with flutter | Firebase Crashlytics/Analytics not working with flutter
I saw a couple of duplicate questions in this similar topic. But those are either unanswered or outdated.
I've been trying to figure out what I'm missing for more than a week now and I couldn't make the crashlytics work in my flutter app.
To make sure the default... | https://stackoverflow.com/questions/69849699/firebase-crashlytics-analytics-not-working-with-flutter | android, firebase, flutter, crashlytics | 1,636,096,483 |
se_79954659 | stackoverflow | MOBILE_DEVELOPMENT | Text overflow on the right, cannot add Flexible or Expanded with flex | Text overflow on the right, cannot add Flexible or Expanded with flex
I have a problem on a flutter page I am making.
My text overflow on the right, but when I try to add a Flexible or a Expanded with flex to fix the overflow I get an error.
This is my code:
import 'package:flutter/material.dart';
class InfoPage exte... | https://stackoverflow.com/questions/79954659/text-overflow-on-the-right-cannot-add-flexible-or-expanded-with-flex | flutter | 1,781,017,082 |
se_79954233 | stackoverflow | MOBILE_DEVELOPMENT | DropDownButton not showing the selected value in Flutter | DropDownButton not showing the selected value in Flutter
I'm currently learning Flutter and I've loaded a DropDownButton widget with their items; however, despite following this example and other similar answers, each time I select an item on the DropDownButton widget, this control/widget does not show the selected va... | https://stackoverflow.com/questions/79954233/dropdownbutton-not-showing-the-selected-value-in-flutter | flutter, dropdownbutton | 1,780,956,069 |
se_79952559 | stackoverflow | MOBILE_DEVELOPMENT | Flutter package in_app_purchase: ^3.2.3 integrated for Apple InAppPurchases but after payment completed it gives appAccountToken=null in backend | Flutter package in_app_purchase: ^3.2.3 integrated for Apple InAppPurchases but after payment completed it gives appAccountToken=null in backend
In my Flutter app I integrated in_app_purchase: ^3.2.3 for Apple InAppPurchases
My backend is in java.
and I set the PurchaseParam like :
final purchaseParam = PurchaseParam... | https://stackoverflow.com/questions/79952559/flutter-package-in-app-purchase-3-2-3-integrated-for-apple-inapppurchases-but | flutter, in-app-purchase, storekit, in-app, flutter-in-app-purchase | 1,780,813,634 |
se_79945508 | stackoverflow | MOBILE_DEVELOPMENT | Advice on Dataset Choice for Two-Way Sign Language App in Flutter | Advice on Dataset Choice for Two-Way Sign Language App in Flutter
I am developing a Flutter app called Talk to Deaf, which aims to enable real-time two-way communication between deaf and hearing users. The app will allow normal users to input text or voice and the deaf user will respond in sign language, while the app... | https://stackoverflow.com/questions/79945508/advice-on-dataset-choice-for-two-way-sign-language-app-in-flutter | flutter, machine-learning, computer-vision, dataset, real-time | 1,779,517,662 |
se_75302880 | stackoverflow | MOBILE_DEVELOPMENT | Flutter: Upload dsym symbols to Firebase crashlytics with flavors | Flutter: Upload dsym symbols to Firebase crashlytics with flavors
I want to upload dsym symbols from Flutter app with multiple flavors. Each GoogleService-Info is places inside config/flavor_name folder. What script should I add to "Build Phases" to upload dsym to Firebase Crashlytics?
Try script from another thread b... | https://stackoverflow.com/questions/75302880/flutter-upload-dsym-symbols-to-firebase-crashlytics-with-flavors | ios, flutter, firebase, crashlytics | 1,675,197,518 |
se_79915868 | stackoverflow | MOBILE_DEVELOPMENT | Decode barcode from Image in Flutter | Decode barcode from Image in Flutter
I need to decode barcode from captured images in my flutter application in WINDOWS. For example, this Code 39 Barcode image (not a perfect image, but that's the purpose of this question)
I have tried to use the library zxing (as mentioned here How to read barcodes from a list of i... | https://stackoverflow.com/questions/79915868/decode-barcode-from-image-in-flutter | flutter, windows, image, barcode | 1,774,628,483 |
se_61043730 | stackoverflow | MOBILE_DEVELOPMENT | Flutter webview showing blank screen | Flutter webview showing blank screen
I am trying to use WebView() on my flutter app. After I wrote the code there are not any errors, however, when running the debug mode on my simulator the page is blank. The AppBar is there and the text is on it also, but the body is a blank screen.
import 'package:flutter/material... | https://stackoverflow.com/questions/61043730/flutter-webview-showing-blank-screen | flutter, flutterwebviewplugin | 1,586,094,974 |
se_79950774 | stackoverflow | MOBILE_DEVELOPMENT | Are these Android permissions safe for Google Play approval? | Are these Android permissions safe for Google Play approval?
I am preparing my app for Google Play release and want to confirm if the following permissions are compliant and safe for review without policy rejection:
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:n... | https://stackoverflow.com/questions/79950774/are-these-android-permissions-safe-for-google-play-approval | android, flutter, google-play, google-play-services, google-play-console | 1,780,481,472 |
se_71958879 | stackoverflow | MOBILE_DEVELOPMENT | ffmpeg kit flutter video compressor | ffmpeg kit flutter video compressor
I am not experienced with ffmpeg. So I'm sorry if I'm asking the wrong question in the wrong place.
i am trying to make a video compressor, i add the dependency exactly like : ffmpeg_kit_flutter_full_gpl: ^4.5.1
and The code I wrote is like:
compress(path) {
FFmpegKit.executeAsync... | https://stackoverflow.com/questions/71958879/ffmpeg-kit-flutter-video-compressor | flutter, ffmpeg, compression, video-compression, flutter-ffmpeg | 1,650,563,688 |
se_79922129 | stackoverflow | MOBILE_DEVELOPMENT | How can a non-default Android app send SMS automatically without user interaction? | How can a non-default Android app send SMS automatically without user interaction?
I’m developing an app that needs to send an SMS automatically when a certain event happens (e.g., a user action). The user should not have to interact with the phone after the event – the message must go out silently in the background.
... | https://stackoverflow.com/questions/79922129/how-can-a-non-default-android-app-send-sms-automatically-without-user-interactio | android, flutter, kotlin, sms, android-permissions | 1,775,642,895 |
se_69168726 | stackoverflow | MOBILE_DEVELOPMENT | NavigatorKey not found on MaterialApp.router | NavigatorKey not found on MaterialApp.router
Previously using MaterialApp there was a way to set a GlobalContext using a NavigatorKey located on the MaterialApp widget.
However now it's looks like that alternative is no longer possible, I have this structure, following Navigator 2.0
Widget build(BuildContext context, ... | https://stackoverflow.com/questions/69168726/navigatorkey-not-found-on-materialapp-router | flutter | 1,631,564,689 |
se_58134023 | stackoverflow | MOBILE_DEVELOPMENT | Flutter local notification causing crash, only in the APK version | Flutter local notification causing crash, only in the APK version
I had this app working before the 1.9 update, then a failure to build had to be worked around by switching the gradle version from 3.2.1 to 3.3.1
Ever since, any non-configuration calls to the local notification pluggin are met with this stacktrace:
E... | https://stackoverflow.com/questions/58134023/flutter-local-notification-causing-crash-only-in-the-apk-version | android, flutter | 1,569,585,133 |
se_56302154 | stackoverflow | MOBILE_DEVELOPMENT | Build IOS in flutter it's showing GeneratedPluginRegistrant.m Plugin headers not found ex :(#import <firebase_analytics/FirebaseAnalyticsPlugin.h>) | Build IOS in flutter it's showing GeneratedPluginRegistrant.m Plugin headers not found ex :(#import <firebase_analytics/FirebaseAnalyticsPlugin.h>)
// Generated file. Do not edit.
#import "GeneratedPluginRegistrant.h"
#import <firebase_analytics/FirebaseAnalyticsPlugin.h>
#import <firebase_auth/FirebaseAut... | https://stackoverflow.com/questions/56302154/build-ios-in-flutter-its-showing-generatedpluginregistrant-m-plugin-headers-not | ios, flutter | 1,558,763,632 |
se_56063497 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Web How to export to HTML | Flutter Web How to export to HTML
Today I started to test the flutter-web and exported my app:
Flutter Recipes. I successfully made this app as a nice web app.
How do I take this code and export it to HTML in order to upload it into web? | https://stackoverflow.com/questions/56063497/flutter-web-how-to-export-to-html | flutter | 1,557,417,942 |
se_71604015 | stackoverflow | MOBILE_DEVELOPMENT | Flutter(dart) error: The argument type can't be assigned to the parameter type 'dynamic Function(List<Student>?)' | Flutter(dart) error: The argument type can't be assigned to the parameter type 'dynamic Function(List<Student>?)'
In the new version of Flutter, I encountered an error as follows.
error: The argument type 'List?' can't be assigned to the parameter type 'dynamic Function(List?)'. (argument_type_not_as... | https://stackoverflow.com/questions/71604015/flutterdart-error-the-argument-type-cant-be-assigned-to-the-parameter-type | android, ios, list, flutter, dart | 1,648,130,962 |
se_79951908 | stackoverflow | MOBILE_DEVELOPMENT | what does underscore mean in flutter? | what does underscore mean in flutter?
What is the underscore sign used for in flutter?
I have been using and encountering the underscore( _ ) symbol in flutter and dart without actually knowing what it means.
Is it a specific syntax that I should crame or are their rules that the underscore sign is to be used?
Can som... | https://stackoverflow.com/questions/79951908/what-does-underscore-mean-in-flutter | flutter, dart | 1,780,670,127 |
se_79951731 | stackoverflow | MOBILE_DEVELOPMENT | when runnig flutter code on Android Studio it doesn't run on the adroid emulator instead it runs on external window that pop up | when runnig flutter code on Android Studio it doesn't run on the adroid emulator instead it runs on external window that pop up
I just have installed android studio with flutter plugin and i added android emulator to the ide as google pixel, but the problem is when i run the code it didn't show up in the android e... | https://stackoverflow.com/questions/79951731/when-runnig-flutter-code-on-android-studio-it-doesnt-run-on-the-adroid-emulator | android, flutter, android-emulator | 1,780,644,821 |
se_75119546 | stackoverflow | MOBILE_DEVELOPMENT | How to properly use unawaited in dart? | How to properly use unawaited in dart?
import 'dart:async';
import 'dart:convert';
import 'package:http/http.dart' as http;
void main() async {
print('start api');
for (var i = 1; i < 4; i++) {
print(unawaited(fetchApi(i)));
}
print('end api');
}
Future<String> fetchApi(int idNum) async {
final url = U... | https://stackoverflow.com/questions/75119546/how-to-properly-use-unawaited-in-dart | flutter, dart, asynchronous | 1,673,714,300 |
se_79812422 | stackoverflow | MOBILE_DEVELOPMENT | Flutter gradle and build fails with “Unresolved reference: filePermissions” and other Kotlin errors in FlutterPlugin.kt | Flutter gradle and build fails with “Unresolved reference: filePermissions” and other Kotlin errors in FlutterPlugin.kt
I’m currently facing a strange error when trying to build my Flutter app on macOS.
I’m using Flutter 2.10.5 (via FVM) because my project SDK constraint is:
environment:
sdk: ">=2.12.0 <3.0.0"
When... | https://stackoverflow.com/questions/79812422/flutter-gradle-and-build-fails-with-unresolved-reference-filepermissions-and | android, flutter, gradle, android-gradle-plugin | 1,762,523,917 |
se_79950897 | stackoverflow | MOBILE_DEVELOPMENT | Issue with initState() in Flutter | Issue with initState() in Flutter
I'm learning Flutter and trying to figure out how to lift state up and render content conditionally.
I have an issue with the build method when using Widget? to declare activeScreen.
I get the error as follows:
A value of type 'Widget?' can't be returned from the method 'build' becau... | https://stackoverflow.com/questions/79950897/issue-with-initstate-in-flutter | flutter | 1,780,496,885 |
se_79902799 | stackoverflow | MOBILE_DEVELOPMENT | iOS framework build fails with google_maps_flutter ^2.14.2 when running flutter build ios-framework | iOS framework build fails with google_maps_flutter ^2.14.2 when running flutter build ios-framework
I am trying to generate iOS frameworks from a Flutter module using the flutter build ios-framework command. The build fails during the plugin compilation stage when the google_maps_flutter plugin is included.
This issue... | https://stackoverflow.com/questions/79902799/ios-framework-build-fails-with-google-maps-flutter-2-14-2-when-running-flutter | ios, flutter, google-maps, google-maps-sdk-ios, flutter-module | 1,772,889,686 |
se_79909620 | stackoverflow | MOBILE_DEVELOPMENT | Problems with RevenueCat Implementation for iOS - with Flutter code | Problems with RevenueCat Implementation for iOS - with Flutter code
As soon as I try to do it in my code
Future<void> loadProducts() async {
try {
final offerings = await Purchases.getOfferings();
if (offerings.current == null) {
log("No offering found", name: "RevenueCat");
return;
}
f... | https://stackoverflow.com/questions/79909620/problems-with-revenuecat-implementation-for-ios-with-flutter-code | ios, flutter, revenuecat | 1,773,788,702 |
se_49307677 | stackoverflow | MOBILE_DEVELOPMENT | How can I get the height of a widget? | How can I get the height of a widget?
I don't understand how LayoutBuilder is used to get the height of a widget.
I need to display the list of Widgets and get their height, so I can compute some special scroll effects. I am developing a package and other developers provide a widget (I don't control them). I read that... | https://stackoverflow.com/questions/49307677/how-can-i-get-the-height-of-a-widget | flutter, dart, layout, widget | 1,521,141,748 |
se_52921519 | stackoverflow | MOBILE_DEVELOPMENT | How to properly feed data to StreamBuilder initialData parameter? | How to properly feed data to StreamBuilder initialData parameter?
I am using a StreamBuilder widget to display some data. When the app is recently opened, I wanted to display some initial data from my json file and feed it into the initialData optional keyword parameter of StreamBuilder.
Here is how I feed it:
MySto... | https://stackoverflow.com/questions/52921519/how-to-properly-feed-data-to-streambuilder-initialdata-parameter | dart, flutter | 1,540,173,698 |
se_51978134 | stackoverflow | MOBILE_DEVELOPMENT | Dirty state error in flutter | Dirty state error in flutter
fifth.dart
import 'package:flutter/material.dart';
import 'package:emas_app/Dependant.dart' as Dep;
import 'package:emas_app/crm_dependent_list_model.dart';
import 'dart:convert';
import 'dart:async';
import 'package:http/http.dart' as http;
import 'package:emas_app/crm_dep_entitlement_mo... | https://stackoverflow.com/questions/51978134/dirty-state-error-in-flutter | dart, flutter | 1,534,996,814 |
se_79950768 | stackoverflow | MOBILE_DEVELOPMENT | Flutter app_links: getInitialLink() returns null on iOS when app is launched from terminated state | Flutter app_links: getInitialLink() returns null on iOS when app is launched from terminated state
I'm using the app_links package to handle deep links on iOS.
Deep links work correctly when the app is:
In the foreground
In the background
However, when the app is completely terminated and launched via a custom URL... | https://stackoverflow.com/questions/79950768/flutter-app-links-getinitiallink-returns-null-on-ios-when-app-is-launched-fro | ios, flutter, dart | 1,780,481,100 |
se_74898894 | stackoverflow | MOBILE_DEVELOPMENT | How to create parallelogram shape Container in Flutter? | How to create parallelogram shape Container in Flutter?
I really don,t know how to create a parallelogram shape container in a flutter. I also found the flutter library for this but I can't use it because this is not supported by null safety. | https://stackoverflow.com/questions/74898894/how-to-create-parallelogram-shape-container-in-flutter | flutter, flutter-dependencies, flutter-animation, flutter-test | 1,671,793,274 |
se_65465521 | stackoverflow | MOBILE_DEVELOPMENT | "Try correcting the name to the name of an existing getter, or defining a getter or field named" | "Try correcting the name to the name of an existing getter, or defining a getter or field named"
My Main.Dart File:
import 'package:flutter/material.dart';
void main() => runApp(MaterialApp(
home: QuoteList() ,
));
class QuoteList extends StatefulWidget {
List<String> quotes = [
"Hello World"
"I... | https://stackoverflow.com/questions/65465521/try-correcting-the-name-to-the-name-of-an-existing-getter-or-defining-a-getter | android, flutter, dart, zappdev | 1,609,070,600 |
se_66115037 | stackoverflow | MOBILE_DEVELOPMENT | Connect to Wifi using Flutter | Connect to Wifi using Flutter
I'm working on a Flutter project that needs to connect to a certain wifi by entering username and password.
I'm using wifi_configuration package which I can connect to a wifi by entering the SSID and password.
Is there any other way to connect to wifi using username and password in Flutte... | https://stackoverflow.com/questions/66115037/connect-to-wifi-using-flutter | flutter, wifi, wpa | 1,612,857,664 |
se_79444807 | stackoverflow | MOBILE_DEVELOPMENT | 404 error when refreshing Flutter web app | 404 error when refreshing Flutter web app
I'm facing an issue; when I try to refresh a Flutter web app page from server it is giving me below mention error.
404 Not Found - "The requested URL was not found on this server."
I went through my .htaccess file. Here is what I have added in it.
<IfModule mod_rewrite... | https://stackoverflow.com/questions/79444807/404-error-when-refreshing-flutter-web-app | flutter, dart, server, http-status-code-404, flutter-web-browser | 1,739,780,866 |
se_79948490 | stackoverflow | MOBILE_DEVELOPMENT | Flutter vector_graphics_compiler transformer causes silent OOM / timeout in GitLab CI during flutter test | Flutter vector_graphics_compiler transformer causes silent OOM / timeout in GitLab CI during flutter test
I have recently migrated a large Flutter project from flutter_svg to vector_graphics to improve rendering performance.
My project contains hundreds (if not thousands) of .svg files. I am using the official asset t... | https://stackoverflow.com/questions/79948490/flutter-vector-graphics-compiler-transformer-causes-silent-oom-timeout-in-gitl | flutter, dart, svg, gitlab-ci | 1,780,062,001 |
se_59928321 | stackoverflow | MOBILE_DEVELOPMENT | Could not create service of type FileAccessTimeJournal using GradleUserHomeScopeServices.createFileAccessTimeJournal() error in gradle | Could not create service of type FileAccessTimeJournal using GradleUserHomeScopeServices.createFileAccessTimeJournal() error in gradle
I am facing this issue while building flutter apps in VS Code and I could not find any simple solution for this issue. Please help me resolve this issue.
FAILURE: Build failed with an ... | https://stackoverflow.com/questions/59928321/could-not-create-service-of-type-fileaccesstimejournal-using-gradleuserhomescope | android, gradle, flutter, visual-studio-code | 1,580,117,649 |
se_79947981 | stackoverflow | MOBILE_DEVELOPMENT | How to stop background image flashing on setState | How to stop background image flashing on setState
I have, in main.dart, a statefull widget. That widget has a container that uses a decorated image to have background in the whole screen.
I created a global BoxDecoration variable, this way:
Future<void> _initializeDataFolder() async {
if (_dataFolder == null ||... | https://stackoverflow.com/questions/79947981/how-to-stop-background-image-flashing-on-setstate | flutter, dart, statefulwidget | 1,779,984,581 |
se_67849867 | stackoverflow | MOBILE_DEVELOPMENT | How to access asset file in pure dart package? | How to access asset file in pure dart package?
I wrote a dart package which is being used by my flutter application.
Inside the dart package I want to store some static data in a json file which I want to read from the dart package code.
However I can't find a way to access asset files directly from a dart package. Us... | https://stackoverflow.com/questions/67849867/how-to-access-asset-file-in-pure-dart-package | json, flutter, file, dart, assets | 1,622,898,071 |
se_79949205 | stackoverflow | MOBILE_DEVELOPMENT | Addition to Flutter .gitignore | Addition to Flutter .gitignore
After upgrading to Flutter
3.41.9
, the file below is now showing up in git. Am I right to assume it is safe to ignore this file since its derived data?
ios/.derived-data-log-0CA5RPJ1
*I can't find any flutter projects on git that have included this in .gitignore file. | https://stackoverflow.com/questions/79949205/addition-to-flutter-gitignore | flutter, xcode | 1,780,222,870 |
se_79948881 | stackoverflow | MOBILE_DEVELOPMENT | PlutoGrid cannot replace rows and rebuild the grid | PlutoGrid cannot replace rows and rebuild the grid
Given this widget:
import 'package:cerebellum/const.dart';
import 'package:cerebellum/models/api/patientfinder.dart';
import 'package:cerebellum/models/api/patientfindrec.dart';
import 'package:cerebellum/utils/dateutil.dart';
import 'package:flutter/material.dart';
i... | https://stackoverflow.com/questions/79948881/plutogrid-cannot-replace-rows-and-rebuild-the-grid | flutter, pluto-grid | 1,780,143,913 |
se_63145249 | stackoverflow | MOBILE_DEVELOPMENT | Using SQL Server with Dart | Using SQL Server with Dart
What is the best way to use Microsoft SQL Server with Dart? I need it to be able to use it from essentially any OS Web and Mobile. I feel the best way may be GraphQL but I am unexperienced in it. I have seen plenty of things saying a .NET API but I am unsure as to how to use the .NET API wit... | https://stackoverflow.com/questions/63145249/using-sql-server-with-dart | c#, .net, sql-server, flutter, dart | 1,595,988,075 |
se_79916914 | stackoverflow | MOBILE_DEVELOPMENT | I’m facing an issue with Agora integration on iOS. Live streaming, video calling, and audio calling are not working on iOS | I’m facing an issue with Agora integration on iOS. Live streaming, video calling, and audio calling are not working on iOS
The exact same implementation works perfectly on Android, but fails on iOS.
I’m facing an issue with Agora integration on iOS and would really appreciate any help.
Important Observation:
When I r... | https://stackoverflow.com/questions/79916914/i-m-facing-an-issue-with-agora-integration-on-ios-live-streaming-video-calling | flutter | 1,774,852,842 |
se_79948368 | stackoverflow | MOBILE_DEVELOPMENT | Warning "Don't use 'BuildContext's across async gaps" | Warning "Don't use 'BuildContext's across async gaps"
I'm having warning because I'm using BuildContext with async function.
void login(BuildContext context) async {
bool success = await controller.login(_passwordController.text);
if (success) {
Navigator.push(
context,
Mater... | https://stackoverflow.com/questions/79948368/warning-dont-use-buildcontexts-across-async-gaps | flutter, dart | 1,780,045,558 |
se_62064188 | stackoverflow | MOBILE_DEVELOPMENT | Exception: [!] Your app is using an unsupported Gradle project | Exception: [!] Your app is using an unsupported Gradle project
I am trying to run my existing flutter application and I am getting this exception. How can I solve this issue?
Exception: [!] Your app is using an unsupported Gradle project. To fix this problem, create a new project by running flutter create -t app <ap... | https://stackoverflow.com/questions/62064188/exception-your-app-is-using-an-unsupported-gradle-project | flutter, exception, dart, build | 1,590,667,226 |
se_62560316 | stackoverflow | MOBILE_DEVELOPMENT | How to access variable inside another method? | How to access variable inside another method?
I have these two methods in the same class, and I want to access a variable inside the second method. in C# we just set it to public variable, but what about Dart and Flutter. How to access this variable 'hours' in play method.
This is the way I tried but it tells me that ... | https://stackoverflow.com/questions/62560316/how-to-access-variable-inside-another-method | flutter, dart | 1,593,017,946 |
se_79053872 | stackoverflow | MOBILE_DEVELOPMENT | Gradient Blur Effect Dart | Gradient Blur Effect Dart
This time I wish to have a gradient blur effect over the limits of my ScrollingView. So, I have the blur effect at the right position, but I wish the effect grows slowly until the max blur. I don't want the gap between the non-blurred part and one blurred.
This image shows my problem. I don'... | https://stackoverflow.com/questions/79053872/gradient-blur-effect-dart | flutter, dart, gradient, blur | 1,728,038,033 |
se_79946499 | stackoverflow | MOBILE_DEVELOPMENT | Google Maps Flutter Advanced Markers and Map Styles | Google Maps Flutter Advanced Markers and Map Styles
I have an app that uses google maps flutter and has 4 map styles that can be changed programmatically
ligth mode
light mode without Points of Interest
Dark mode
Dark mode without Points of Interest
Before, I would use the style prop and have 4 different json st... | https://stackoverflow.com/questions/79946499/google-maps-flutter-advanced-markers-and-map-styles | flutter, google-maps, google-maps-flutter, google-maps-flutter-web | 1,779,747,328 |
se_55502559 | stackoverflow | MOBILE_DEVELOPMENT | Flutter SliverGrid population with API fetch | Flutter SliverGrid population with API fetch
is there any working example of a SliverGrid populated with a fetch? All examples I found are with static/typed content.
What I want is to fill the SliverGrid with dynamic content pulled from API.
EDIT
This is the current structure I have, the SliverToBoxAdapter populate... | https://stackoverflow.com/questions/55502559/flutter-slivergrid-population-with-api-fetch | dart, flutter | 1,554,318,360 |
se_54595757 | stackoverflow | MOBILE_DEVELOPMENT | Dart: convert a string to int, and to compare 2 integers | Dart: convert a string to int, and to compare 2 integers
I would like to convert a string to int and to compare 2 ints :
I tried :
var str1="0.0.1";
var str2="0.0.2";
var s1 = int.parse(str1.replaceAll(".", ""));
var s2 = int.parse(str2.replaceAll(".", ""));
print(s1); //1
print(s2); //2
if(s1 < s2)... | https://stackoverflow.com/questions/54595757/dart-convert-a-string-to-int-and-to-compare-2-integers | dart, flutter | 1,549,640,319 |
se_55885433 | stackoverflow | MOBILE_DEVELOPMENT | How to add copy to clipboard on tap in a flutter name generator app? | How to add copy to clipboard on tap in a flutter name generator app?
I'm a beginner to Flutter and I just started following their Name Generator app tutorial and made a simple name generating app. I'm wondering if it's possible to add a copy to clipboard feature when a user tap on a name? I tried to implement a solu... | https://stackoverflow.com/questions/55885433/how-to-add-copy-to-clipboard-on-tap-in-a-flutter-name-generator-app | dart, flutter | 1,556,404,322 |
se_79947790 | stackoverflow | MOBILE_DEVELOPMENT | Android share intent opens target app inside Flutter app window instead of switching apps on new window (share plus) | Android share intent opens target app inside Flutter app window instead of switching apps on new window (share plus)
I am working on a Flutter Android application and using share_plus to share text content with external apps like Telegram and WhatsApp.
Problem
When triggering the share action:
SharePlus.instance.share... | https://stackoverflow.com/questions/79947790/android-share-intent-opens-target-app-inside-flutter-app-window-instead-of-switc | flutter, android-intent, android-manifest, share-plus | 1,779,958,476 |
se_51069712 | stackoverflow | MOBILE_DEVELOPMENT | How to know if a widget is visible within a viewport? | How to know if a widget is visible within a viewport?
I have a view that consists of a Scaffold and a single ListView in its body, each children of the list is a different widget that represents various "sections" of the view (sections range from simple TextViews to arrangements of Columns and Rows), I want to show a ... | https://stackoverflow.com/questions/51069712/how-to-know-if-a-widget-is-visible-within-a-viewport | flutter, dart, viewport | 1,530,125,885 |
se_66317638 | stackoverflow | MOBILE_DEVELOPMENT | Exception: Profile mode is not supported for iPhone 11 Pro when profile flutter app | Exception: Profile mode is not supported for iPhone 11 Pro when profile flutter app
When I run app in profile mode in Android Studio 4.1.2:
show this error:
Exception: Profile mode is not supported for iPhone 11 Pro.
why would this happen and what should I do to fix it? This is my env:
~/source/dabai/microservice/so... | https://stackoverflow.com/questions/66317638/exception-profile-mode-is-not-supported-for-iphone-11-pro-when-profile-flutter | flutter | 1,614,004,233 |
se_79947083 | stackoverflow | MOBILE_DEVELOPMENT | Using ShaderMask to blend a LinearGradient on text with a shadow produces a visible, slightly transparent border around the text widget | Using ShaderMask to blend a LinearGradient on text with a shadow produces a visible, slightly transparent border around the text widget
I am working on a widget manipulation concept to blend a LinearGradient on text that also has a shadow complementing the gradient's arrangement.
The only problem is that I noticed a f... | https://stackoverflow.com/questions/79947083/using-shadermask-to-blend-a-lineargradient-on-text-with-a-shadow-produces-a-visi | flutter, dart, widget, shadow | 1,779,846,718 |
se_55917204 | stackoverflow | MOBILE_DEVELOPMENT | ConnectivityPlugin.java uses or overrides a deprecated API | ConnectivityPlugin.java uses or overrides a deprecated API
I installed the latest Flutter and dart and Android Studio. I have login page before login I checked internet available or not using connectivity plugin.
when running flutter run application working well.
when running flutter build apk after that running flu... | https://stackoverflow.com/questions/55917204/connectivityplugin-java-uses-or-overrides-a-deprecated-api | dart, flutter, flutter-dependencies | 1,556,614,264 |
se_57008822 | stackoverflow | MOBILE_DEVELOPMENT | Flutter how do I remove unwanted padding from Text widget? | Flutter how do I remove unwanted padding from Text widget?
I have a Text widget and not sure why it seems to just have padding at the top and bottom even though I didn't set any in the code. This is from the default Flutter app, I just modified the font size.
body: Center(
child: Column(
children: <Widget... | https://stackoverflow.com/questions/57008822/flutter-how-do-i-remove-unwanted-padding-from-text-widget | flutter, dart, padding | 1,562,940,964 |
se_55243106 | stackoverflow | MOBILE_DEVELOPMENT | Dart, Nested classes, how to access child class variables | Dart, Nested classes, how to access child class variables
I am new to Dart/Flutter. So forgive me. I am trying to create a Object class mentioned as TestData below. And one of the variables in TestData is a Map of TestChildClass. How can I access the child variables and set them. and get them.
class TestData{
i... | https://stackoverflow.com/questions/55243106/dart-nested-classes-how-to-access-child-class-variables | dart, flutter | 1,553,005,035 |
se_79945482 | stackoverflow | MOBILE_DEVELOPMENT | Flutter TypeAheadField overlay/shadow remains visible behind dialog on iOS | Flutter TypeAheadField overlay/shadow remains visible behind dialog on iOS
I am facing an issue on iOS with flutter_typeahead.
When I open a dialog (showDialog) while a TypeAheadField exists on the screen, I get a weird dark overlay/shadow/ghost UI behind the dialog.
This issue only happens on iOS.
Android works perfe... | https://stackoverflow.com/questions/79945482/flutter-typeaheadfield-overlay-shadow-remains-visible-behind-dialog-on-ios | flutter, overlay, backdrop, flutter-typeahead | 1,779,513,213 |
se_79945038 | stackoverflow | MOBILE_DEVELOPMENT | Google Play Billing purchase fails in locally installed Flutter APK but works from Internal Testing | Google Play Billing purchase fails in locally installed Flutter APK but works from Internal Testing
I am using Google Play Billing subscriptions in a Flutter app with the in_app_purchase package.
Issue
Subscriptions work correctly when the app is installed from Google Play Internal Testing.
However, purchases fail whe... | https://stackoverflow.com/questions/79945038/google-play-billing-purchase-fails-in-locally-installed-flutter-apk-but-works-fr | android, flutter, in-app-purchase, google-play-console, google-play-billing | 1,779,432,940 |
se_78955761 | stackoverflow | MOBILE_DEVELOPMENT | flutter stuck at "Installing profile for com.example.learn_flut" | flutter stuck at "Installing profile for com.example.learn_flut"
it has been like 30 mins and while running the app I'm always stuck at "Installing profile for com.example.learn_flut".
the problem is the app just shows the flutter logo and is stuck at "Installing profie" its not progressing further.
is my co... | https://stackoverflow.com/questions/78955761/flutter-stuck-at-installing-profile-for-com-example-learn-flut | flutter | 1,725,601,468 |
se_79015588 | stackoverflow | MOBILE_DEVELOPMENT | The archive did not include a dSYM for the Flutter.framework with the UUIDs | The archive did not include a dSYM for the Flutter.framework with the UUIDs
I'm new to Flutter iOS development. Trying to publish an app on the Apple app store. But after building the archive, when I try to distribute or validate the app, Xcode keeps me showing
The archive did not include a dSYM for the Flutter.frame... | https://stackoverflow.com/questions/79015588/the-archive-did-not-include-a-dsym-for-the-flutter-framework-with-the-uuids | flutter, xcode, app-store-connect, flutter-ios-build | 1,727,110,455 |
se_52654236 | stackoverflow | MOBILE_DEVELOPMENT | Flutter Console Windows Batch File Not Opening | Flutter Console Windows Batch File Not Opening
I have recently downloaded flutter from here and followed the setup instructions after extraction. I have set the path in environment variable to C:\Flutter\flutter at the root of my C drive.
The problem then occurs when I try opening flutter_console batch file as specif... | https://stackoverflow.com/questions/52654236/flutter-console-windows-batch-file-not-opening | flutter | 1,538,682,969 |
se_79021221 | stackoverflow | MOBILE_DEVELOPMENT | Flutter pdf Uint8List to String | Flutter pdf Uint8List to String
I have a Uint8List with the information of a pdf. I need to convert this information into string in order to save the pdf info to use it later. But, there is a problem with the process and the pdf info breaks.
This is the saving code:
Future<void> setFormPdf(File pdf)async {
final S... | https://stackoverflow.com/questions/79021221/flutter-pdf-uint8list-to-string | flutter, dart, pdf, uint8list | 1,727,241,509 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.