Category "flutter"

warning: [deprecation] <TResult>call(Executor,Callable<TResult>) in Tasks has been deprecated

I'm getting this error while I was running my app (though my app is running fine) : C:\Users\dassa\Downloads\flutter_windows_2.2.3-stable\flutter\.pub-cache\hos

Flutter iOS Build Error - framework image_picker not found

I have added v0.8.5 of image_picker library in my project. I have tried following things to solve the issue: Deleted podfile.lock & Pods folder from iOS Dir

How to prevent back button from dismissing the keyboard in flutter?

I want to set the keyboard to be always opened in the chat page and should not be dismissable by the back button. The WillPopScope() widget is only preventing t

In Flutter on Android: how to save non-image file so the user can instantly see it in other apps?

How can I save a file (txt/pdf/doc etc.) in my Flutter app on Android device in such a way that it will be accessible or "visible to the user" from any other ap

I want to export my whole code base like a package or something like a module that I can import

I created an app for a small group of people. I created a lot of widgets/pages and models. Now another group asked if I could make them the app too. I could cre

LateInitializationError: Field '_children@51042623' has not been initialized

[![LateInitializationError: Field '_children@51042623' has not been initialized][1]] I'm having this problem when i add items to a List from page 2 to page 1 [1

how to hit and get data after getting value from dropdownbutton in flutter

I need to know how to hit API after selecting a value from dropdownButton and how to use that response in text in flutter. Here I can able to hit api and got re

type '(List<Animal>) => void' is not a subtype of type '((List<Animal?>) => void)?'

type 'List<Object?>' is not a subtype of type 'List<Animal?>' of 'function result' giving me errors on saving selected values value is shown in debu

How update provider's data in Flutter Dart

I have a list of a few things and each has its own ID. I want to pass that certain ID to the provider whenever it's clicked. But as of now, when I click on ITEM

How to use Flutter MethodChannel from FirebaseMessaging.onBackgroundMessage?

I'm using firebase_messaging onBackgroundMessage handler for listening push messages and it works as expected. Now I want to call platform method from this hand

How to download video from tiktok url by flutter?

I would like to download video from tiktok url by flutter. I was able to extract only video url from tiktok video url. Like this https://v16-webapp.tiktok.com/1

How to manually delete a textfield in flutter?

I am making a growable Textfield widget that a user can add as many textfield as he wants. I am using a list of textfields in this case. If user presses button

How do I setup a scoreboard in flutter? (using firebase)

Hi I'm having trouble setting up my scoreboard in flutter, everything is working as intended except one part. I want to create a scoreboard which displays a use

keystorePropertiesFile - Gradle task assembleDebug failed with exit code 1

I am getting this error after trying to run the app in an emulator. FAILURE: Build failed with an exception. * Where: Build file 'D:\Projects\news-app\news\mai

How to reduce Firestore reads - Flutter?

I built an E-commerce app using Firebase/Firestore and I am using Stream Builder or Future Builder and facing high Firestore reads. When I press on Hot-Reload

How to concatenate multiple Flutter TextFormField's in an output Text?

The code simplified below uses a Form composed of two TextFormField's. Under the form, a submit button does concatenate the two input fields in an output Text f

Image from device path not shown

I have downloaded a file to getApplicationDocumentsDirectory(). Then I have inserted the file path to a SQLite database. In this case the file is a png file, a

shake and screenshot events dont work instabug flutter

i opened instabug flutter example app (from github repository) with shake and screenshot event but it doesnt work. (floating button works) Is it possible to sha

I'm getting this error anyone know the solution

I'm getting this error anyone know the solution FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':flutter_plugin_android_lif

How to get the metadata of saved object/file in aws s3 using amplify - flutter

I am new to AWS amplify framework. I am saving images from my flutter app with custom metadata. In the same way, I would like to use those metadata to display i