Relative Content

Tag Archive for flutterdart

How to manage a variable that doesn’t exist after an api request?

i have this problem, i make an http request on an api, and i am supposed to display a simple message when i have situation = 0 in the response, and it works well but when in the response situation doesn’t exist i have this message and my code doesn’t execute however I specified that in the response situation may not exist. this is the message i get

How to manage a variable that doesn’t exist after an api request?

i have this problem, i make an http request on an api, and i am supposed to display a simple message when i have situation = 0 in the response, and it works well but when in the response situation doesn’t exist i have this message and my code doesn’t execute however I specified that in the response situation may not exist. this is the message i get

Showing void api result with listview builder

well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]

Showing void api result with listview builder

well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]

Showing void api result with listview builder

well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]

Showing void api result with listview builder

well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]

Showing void api result with listview builder

well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]

Showing void api result with listview builder

well i have a little problem with the listview builder , i make a request on a api and i am upposed to display the result depending on the length of the result, it works very well but when i have no data from the api, i have this message from flutter : no suchMethosError:”map” Dynamic call with incorrect number of type arguments Expected 2 actual 1 Receiver instance of ‘jsonMap’ Arguments:[instance of dynamic)=> historique]