Questions tagged [flutter]

Use this tag for questions about the Flutter cross-platform UI toolkit. If your question is platform-specific, tag the platform as well (e.g., [android], [ios], etc.). You may also wish to include the [dart] tag for coding questions.

flutter
83,040 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
22 votes
1 answer
7k views

How to render OpenGL in Flutter for Android?

if (call.method.equals("createVideoRenderer")) { TextureRegistry.SurfaceTextureEntry entry = textures.createSurfaceTexture(); SurfaceTexture surfaceTexture = entry....
PPP's user avatar
  • 1,620
21 votes
3 answers
3k views

Flutter iOS How to show download notification success?

I am downloading a file using FlutterDownloader. final taskId = await FlutterDownloader.enqueue( url: url, savedDir: (await getApplicationDocumentsDirectory()).path, showNotification: true,...
Awais Ahmad's user avatar
17 votes
2 answers
10k views

Is there any way to create call recording app in flutter?

So, I have tried to develop an application for call recording : By using flutter_sound to record a call and I am detecting call state using phone_state_i but succeeded to record the call with the ...
Jay's user avatar
  • 362
16 votes
0 answers
26k views

Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found. Flutter Firebase

I just installed flutter with firebase but when adding to database I get the following error İnstalled Google Play Services Add in AndroidManifest(main) -Add in AndroidManifest(user) Local module ...
Kerim Berkay's user avatar
14 votes
0 answers
1k views

Flutter Desktop click through window

I'm building a transparent app using Flutter Desktop for Linux, is there a way to click through the main app window, still showing the app? I'm trying to write some kind of overlay app. I've tried ...
Pacane's user avatar
  • 20.9k
14 votes
1 answer
997 views

How to resolve weird and incomplete Uri & Path received while directly sharing image from android gallery to my flutter app

I have written a functionality in Kotlin for the flutter app to share media files directly from the android phone gallery to the app. Working fine for many devices I have tested like Realme 3 Pro, ...
Sourav Singh Rawat's user avatar
14 votes
2 answers
2k views

Flutter Google Play Console Resource Name for Tests

I developed an app in Flutter and I'm posting to Google Play, though, I would like to know how / where I can set the widget name information so that I can enter as login credentials on the Play ...
Augusto's user avatar
  • 323
13 votes
0 answers
482 views

flutter debugging with pixel 8 start to show E/lutter_progetto( 5180): PIXEL: ioctl err: 1

I'm developing an application with flutter and today suddenly when I carry out my debugging tests with a physical device (pixel 8) I receive the following error in the console at every interaction. I ...
Simone Calò's user avatar
13 votes
3 answers
2k views

Flutter TabBarView build all tab widgets once at startup

I'm currently trying to get a multi tabbed form working. I am using the package flutter_form_builder for that. The problem is, that the FormBuilder requires all descendant form fields to be loaded at ...
Morris Janatzek's user avatar
13 votes
2 answers
12k views

Firebase Messaging unregister notification for read_timeout failed

I was trying to send a notification from one device to another device to let the user know there is a waiting message for him. When I was trying to catch and handle the RemoteMessage this is what ...
Zahid Tekbaş's user avatar
12 votes
1 answer
1k views

How to add scrollable tabs with a pinned header within a DraggableScrollableSheet?

I'm trying to use a NestedScrollView for scrollable tabs within a DraggableScrollableSheet and need to pass the sheet's controller to the NestedScrollView's scrollable body, however doing so is not ...
ireallydespisemaxcharacterlimi's user avatar
12 votes
5 answers
4k views

MissingPluginException(No implementation found for method file on channel video_thumbnail)

I am using video_thumbnail 0.2.4 package to get thumbnail form video url. If I uploaded video from android device then its working perfect but If I used iPhone device, Always get the error ...
Govaadiyo's user avatar
  • 5,832
12 votes
6 answers
4k views

Blank Screen in running flutter app in release mode

Pretty much this issue https://github.com/flutter/flutter/issues/36247 . Looking for any support here. PLEASE NOTE ISSUE WITH IOS ONLY. The app works perfectly in the simulator and also when ...
p2hari's user avatar
  • 524
11 votes
0 answers
830 views

How to fix Google Play Console warnings about missing content labels

I have a Flutter app targeting Android. I have wrapped most widgets with Semantics widget to provide info to screen readers (only excluding Text widgets). Semantics( button: true, ...
under's user avatar
  • 2,789
11 votes
1 answer
955 views

How can I build a Go Library and use it in Flutter?

I'm currently trying to use Azure Authentication within my Flutter app. I've searched and have not found an existing library that supports MSAL/AAD for Flutter on Windows. If I use the MSAL package ...
Lewis Cianci's user avatar
11 votes
0 answers
3k views

Google Play app rejected due to: Prominent disclosure Non compliant design for policy: Accessibility API

Our application is getting rejected from the play store for policy violation regarding Prominent disclosure Non compliant design for policy: Accessibility API Initially we were using 3rd party ...
Jinesh Soni's user avatar
11 votes
3 answers
5k views

How to use an ellipsis overflow with multiline Text in Flutter

When I configure a Text widget with a maximum of 1 line and an overflow set to ellipsis, the widget shows correctly. Text( "Last summer, I was working on a prototype for an AR app that ...
matwr's user avatar
  • 1,573
10 votes
1 answer
2k views

Google play integrity api issue in flutter

I am migrating my app from Google play safety net API to Integrity API, but after releasing it to playstore the app is not working. It only shows loading. My project running with Flutter framework. ...
Syam 's user avatar
  • 101
10 votes
1 answer
6k views

Flutter Android gradle plugin to version 3.2.0 or higher

I have already update the latest Android Gradle version but still showing the error when generating the signed bundle. generating signed bundle requires you to update the android gradle plugin to ...
Alpit Panchal's user avatar
10 votes
0 answers
807 views

Does Webpack plugin for MicroFrontends support flutter web app be used as MicroFrontend inside angular app?

I have angular application which works independently. Also there is a flutter web build for a certain feature which runs independently. I would like to use the flutter web build as a micro frontend ...
ACR's user avatar
  • 337
10 votes
0 answers
2k views

How to handle Google play Redeem Promo code in Flutter?

I'm developing a free Flutter app (Android and iOS), that offers premium content (in-app subscription) using official Flutter in-app-purchase plugin - latest version 2.0.1. We'd like to use Google ...
Urša Gorše's user avatar
10 votes
2 answers
2k views

Flutter's video_player throwing a PlatformException on iOS

I'm trying to run my Flutter application on iOS Simulator and I have found that video player throws the following exception on init: [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: ...
pnzrfst1's user avatar
  • 199
10 votes
1 answer
2k views

Flutter plugin: Send data from Android BroadcastReceiver to Flutter code

I'm developing a Flutter plugin (for Android only) that automatically executes a Flutter task when the device connects to a specific bluetooth device. Here is what I do in the Android side of the ...
Valentin's user avatar
  • 5,569
10 votes
3 answers
2k views

Flutter hivebox HiveError: Box has already been closed

I am using this function to make sure to open and close box appropriately but i am still getting HiveError: Box has already been closed. error static Future<Box<dynamic>> openIt() async { ...
Bilal Rabbi's user avatar
  • 1,780
10 votes
2 answers
2k views

Update HTML meta tags inside index.html dynamically in Flutter Web

I have created a website in Flutter web and added all meta tags inside index.html for SEO. The title tags get updated using the Flutter Title widget but I want to update description, keywords, og:...
Rashmi Tank's user avatar
10 votes
1 answer
725 views

How to debug a Flutter app's crash from the provided stack trace in Google Play Console?

I have published a Flutter app on Play Store that reports crashes from time to time. To build it for release, I used obfuscation as described here with the command: flutter build apk --obfuscate --...
whidev's user avatar
  • 181
10 votes
2 answers
2k views

How to open native emoji keyboard in Flutter

IOS and Android have their own emoji keyboards which can be accessed through their keyboards. How can I directly open it when the user tapped the button?
Stewie Griffin's user avatar
10 votes
1 answer
2k views

Is there a plugin or a way to show ads in Flutter Website?

I want to show banner, rewarded and interstitial Ads on my website which is built with Flutter Web. It is easy to show Ads for Flutter Android (I have used admob_flutter plugin for that) but I could ...
gorkem's user avatar
  • 111
10 votes
1 answer
1k views

Flutter Plugin containing static library (.a File) is not linked correctly

I have a Flutter Plugin, which for iOS uses a static library (.a file). If I add the plugin to my pubspec.yaml and install it via flutter pub get, it installs a pod, which I can see in my app`s XCode ...
最白目's user avatar
  • 3,554
10 votes
2 answers
8k views

Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: flutter/textinput. Response ID: 0

I am trying to create a user in Firebase using Flutter, but when tried to send email and password the app crashes. and this is the code snippet: void validateAndSubmit() async { if (...
Mohamed Nader's user avatar
10 votes
2 answers
1k views

Prevent Flutter Provider from rebuilding widgets in previous screen due updates on current screen

I am still looking a better statement to fully express my problem here, so in detail here it is Using Provider allows rebuilding widgets on changes which will affect them. Great!. Suppose on the main ...
Doc's user avatar
  • 11.3k
10 votes
2 answers
3k views

Is it possible to send a message from android background service to the flutter side via platform channels while the flutter app is close

I am new to flutter and i was wondering if it was possible to send data from my background service running in the native android part of the app to the flutter app, but while the flutter app is closed....
Oto-obong Eshiett's user avatar
10 votes
1 answer
3k views

Flutter WebView window.close() not working (Android)

I cannot close the opened web page using webview flutter with window.close() functionality. I am using webview_flutter in my application. The website that I've been using has a window.open() function ...
Tepits's user avatar
  • 404
10 votes
1 answer
2k views

How to set up In App Purchases for Non consumable

I've set up AdMob ads on my app and want to set up In-App Purchases so that people can pay to disable the ads if they want to. I looked around for some guides on how to do it but they are all for ...
Hasen's user avatar
  • 12.1k
10 votes
2 answers
2k views

Prevent a NestedScrollView from scrolling

I have a widget that is a NestedScrollView and some text in the body. There are cases where I want to "lock" the user and not allow him to scroll. I have tried using the physics property and set it to ...
dwax's user avatar
  • 401
10 votes
2 answers
3k views

Use of npm package within Flutter

I come from an Android native background and have recently started using Flutter more frequently, but I have no ReactNative experience whatsoever. Is it at all possible to port an existing RN (npm-...
CoastalB's user avatar
  • 705
10 votes
1 answer
2k views

HTTP3 Client for flutter

Is There a HTTP3 client for dart? There is Flupke in Java, Aioqic in python but I didn't find one for dart as well as flutter
THE_BLESSED_MEDIUM's user avatar
9 votes
0 answers
3k views

BuildConfig cannot resolve solution

Gradle buildConfigField BuildConfig cannot resolve symbol In latest android studio with gradle version 8.0.0 and above developer face this issu. When they try to import BuildConfig class with own ...
Jasani Chirag's user avatar
9 votes
2 answers
2k views

Flutter in_app_purchase couse uknown SKError on iOS

I'm struggling with in app payments on iOS. When I try to launch app, I'm restoring past purchases, sometimes I'm getting SKError with code 0 (unknown error). I am not able to get available products, ...
JBTG's user avatar
  • 111
9 votes
0 answers
437 views

Does Flutter have a way around Android's size limit on Emojis?

Android still seems to scale emojis in a Bizzar way. I've seen that this is an issue in other Android development platoforms, up to Android 11, and it still seems to exist now in Android 12. Android ...
SpiRail's user avatar
  • 1,395
9 votes
1 answer
3k views

Could not load source 'dart:core-patch/errors_patch.dart': <source not available>

When you run testWidgets in flutter_test.dart errors_patch.dart is automatically opened and Could not load source 'dart:core-patch/errors_patch.dart': <source not available>. and the test fails ...
iori tobeta's user avatar
9 votes
2 answers
7k views

An unexpected packet was received before the handshake. - Android Studio

When I run the Flutter project on Android Studio, before running the application on the emulator, the event log displays "An unexpected packet was received before the handshake" for six to ...
Aetooc's user avatar
  • 119

1
2 3 4 5
1661