False type when returning data from future because of parsing nested structure with list

I am new to flutter and have experiences only with PHP, therefore you may find my questions nonsensical. If so, please do explain me what I am getting wrong, thank you...

Error with my FutureBuilder and dropdown button

I have a problem with my DropdownButton. I take values from a json file and the problem is that when I try to select a value from dropdownbutton I have an error that s...

Update forms in FutureBuilder

I want to be able to update my forms in a futureBuilder. I need the futureBuilder to retrieve all the datas from the player in my DataBase. I am setting my initial val...

Dart / Flutter: async behaviour of an Isolates top level function

Aye Aye good people, I'm experiencing a weird behavior when using the top level function of an isolate asynchronously; you can find example code <a h...

Trigger rebuild of other widgets after FutureBuilder finishes

I have a page with two main widgets: a futurebuilder that contains a list of elements taken from an api and an appbar. The appbar content (a row of days) is grayed out...

Unhandled Exception: Invalid argument: Instance of FutureString

When i run this it gives an error saying <code>Unhandled Exception: Invalid argument: Instance of 'Future&lt;String&gt;'</code> <pre><code>String username = Fireba...

How to call 2 Future functions that return Future values in FutureBuilder?

I am working on a complex web application in which from time to time, I need to fetch data from backend API. Sometimes, I need to call 2 future functions in Future Bui...

When removing items from futurebuilder it doesnt update

I have a futurebuilder that calls an API connected to DynamoDB. When I remove an item from dynamoDB however it doesn't update my list unless I navigate away from the...

Get Future as a String for use in Text Widget?

I've got the following future method which fetches a string from a PHP/Mysql database. <pre><code>Future&lt;String&gt; getCount({ String audioid,}) async { final...

How get api result based on the error handler of Future.catchError must return a value of futures type?

I have currently this solution based on bloc. What this part of the code does is that it calls the apiCall function which is below. <pre><code>class InsertApiBloc...

(Flutter Futurebuilder) the appbar title wont load as soon as the page changes

<pre><code>import 'dart:convert'; import 'package:flutter/widgets.dart'; import 'package:flutter_app/home_page.dart'; import 'package:flutter_app/login_page.dart'; import...

Flutter: Combine Multiple Future&lt;T&gt; Tasks

How we can merge multiple FutureTask so that we can get a callback for all at the same response. We use <code>Future&lt;T&gt;</code> like <pre><code>Future&...

Flutter How to show data in listview.builder inside future builder with provider

I am working on an app where i am getting json response from api. I want to store all the objects coming from api into a list and then i want to show that list in a li...

StreamBuilder is not showing data from firestore

I am using streambuilder to display snapshot data but it is not displaying. The screen is just blank but When I use the future builder with get() methode it display t...

is there a better way to write a document stream builder?

Is there a better way to write this code? The application is about jobs and job applications. Each job can have multiple job applications. if the job is...