Category "flutter"

Error setting-up flutter_localizations package "Target of URI doesn't exist: 'package:flutter_gen/gen_l10n/app_localizations.dart'."

This error appears when I try to add language support to my flutter application: Target of URI doesn't exist: 'package:flutter_gen/gen_l10n/app_localizations.da

Upload image flutter web with dio formdata

I am trying using file_picker and dio packages to upload files as form data. This is for flutter web and it seems MultipartFile.fromFile is not accepted. What

unable to send post request in dio - flutter

I'm trying to send Post request from Flutter(dio) to my Flask Restful API and I want to give the request body in form-data because an image file needs to be sen

How can I get day name from string date '22 May 2022' in flutter

I am a beginner in Flutter, I want to get day name [like Sunday] from a date, date i am getting from api which is basically a string like '22 May 2022' How can

Flutter create custom search UI extends SearchDelegate

I have a fully tested Search class which extends SearchDelegate, it always shows the Searchbar within the appbar as material design. But I want it to be like

flutter problem: "Could not resolve all files for configuration ':classpath'."

I run simple flutter "show random word" project but i have this error: this is my gradle-wrapper.properties file: #Fri Jun 23 08:50:38 CEST 2017 distributionBa

Unable to drag marker on google map in flutter

I'm using google_maps_flutter: ^0.5.24+1 plugin. I can't drag the marker inside map even though draggable property is set true. Whats wrong here? My code :

error when Add a stub for a method using Mockito's 'when' API

Have this abstract class to get data from remote data source abstract class NumberTriviaRemoteDataSource { /// Calls the http://numberapi.com/{number} endpoin

Flutter open Firebase Storage download url Permissions Denied 403

I am uploading PDF's in my app to Firebase Storage. Now I want to open the PDF form my app in a browser. For that I tried using the url_launcher like this: Futu

Playing Vimeo videos in Flutter

I'm trying to play vimeo videos in flutter app using the video_player plugin but got no success, it's throwing bunch of errors. please help me how I might go a

Flutter: Turn off screen when phone close to face

I'm doing calling feature in Flutter and I need to know whether user wants to listen with earpeace and turn off the screen, set audio output to earpeace. Is the

Firebase keeps redirecting example.com/username to example.com/#/

I am trying to extract the username from the current URL example.com/username but firebase keeps directing it to example.com/#/ due to which username changes dy

How to reshape the flutter (dart) list

Iam working with tflite library which requires an array with shape of [1, 150, 3] and i have 3 arrays of [150], when i try to make a list of the 3 list it shape

Flutter push notifications app background : firebase_messaging

I want to display a push notification when my app is in the background. I am using the flutter_local_notifications package and the firebase_messaging package. P

How to open flutter app from any web browser?

i know we can open android app using Android Deep Links and produce result as we want. But is there a way to open flutter app from web browser? this is what th

is there a way to upload data from a FormField with a dropdown list to firebase...im get null value after uploading to firebase

this is the formField that is uploading no value i tried using a controller but seems now event compatible.the rest of the textformfields are working but i dont

flutter - errors event.snapshot.value since updating to firebase 9.0.X

I'm getting errors on event.snapshot.value since updating to firebase 9.0.5. I have many functions like this which worked fine in firebase 8.X. Stream<List

Unity ads in flutter via admob mediation

In my flutter app , admob ads are already showing , I want to show unity ads via admob mediation. How to setup unity ads in flutter app via admob mediation?

FormatException: Unexpected character (at line 439, character 1) } with arb file

I have two .arb files in my project, everything was working fine, but today I added two strings and I am receiving this error when I am doing flutter pub get: G

How to solve "OS Error: File exists, errno = 17" in flutter?

I'm trying to download and save a file in the Downlaod directory, but every time I get this error: I/flutter (21400): FileSystemException: Cannot create file, p