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...
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...
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...
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...
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...
When i run this it gives an error saying <code>Unhandled Exception: Invalid argument: Instance of 'Future<String>'</code> <pre><code>String username = Fireba...
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...
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...
I've got the following future method which fetches a string from a PHP/Mysql database. <pre><code>Future<String> getCount({ String audioid,}) async { final...
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...
<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...
How we can merge multiple FutureTask so that we can get a callback for all at the same response. We use <code>Future<T></code> like <pre><code>Future&...
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...
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 this code? The application is about jobs and job applications. Each job can have multiple job applications. if the job is...