Questions tagged [flutter-futurebuilder]

For questions relating to Flutter's FutureBuilder class. Use this tag in combination with the general [flutter] tag. If your question applies to Flutter more generally, use the [flutter] tag only.

Reference:

667 questions
-2
votes
1 answer

Running Multiple Async Requests at Once in Dart. Proper way

I am trying to work with concurrency in Flutter, so I have three get-request from server and I need to get values from them at the same time. Each request was parsed into a model. Now I'm trying to figure out how I can combine all the models into…
inkwelll075
  • 494
  • 4
  • 19
-2
votes
1 answer

FutureBuilder doesn't wait until future completes

In my app I want to initialize something before my widgets will be created. I need to do it exactly in App class and trying to use FutureBuilder for this purpose. But _AppBlocProvider's build method is called before initInjectionContainer(), for…
Yaro Best
  • 29
  • 1
  • 5
-2
votes
2 answers

Unhandled Exception: type 'int' is not a subtype of type 'String' in Flutter app

I am trying to do an example which includes APIs. Here's my sample API which I want to return: [ { "ID": 47, "DerslikAd": "a", "SinifID": 1, "SinifAd": "1. Sınıf" }, { "ID": 77, …
-3
votes
2 answers

Why does futureBuilder return a null value?

When I try to take a object in my home page I don't get an error, but even if I use the same method in the next screen to display my object from the database, FutureBuilder can't take any value. @override Widget build(BuildContext context) { …
ygzkrmtc
  • 97
  • 7
-3
votes
2 answers

Image not loading from firestore in flutter app

I am very new to Flutter and Firestore. So I uploaded some photos on Firebase storage. Here is how storage looks Then I pasted their download URL into firestore database. Here is how firestore looks but every time I try to get them in my app I am…
-5
votes
1 answer

I have List i need to convert ApplicationMeta type

List apps = []; @override void initState() { UpiPay.getInstalledUpiApplications().then((value) { setState(() { this.apps = value; print('successfully append'); }); }).catchError((e) { print('im in error…
1 2 3
44
45