Skip to main content

All Questions

Tagged with
0 votes
3 answers
236 views

Expected a value of type 'String', but got one of type 'List<dynamic>'

I want integrate Flutter with an ASP.NET API. the problem is when I create minimal API, the JSON I retrieved from MapGet is a string, when I try to jsondecode() it give me: Expected a value of type '...
user avatar
0 votes
1 answer
366 views

What is the best way to create API app for Flutterflow app?

I'm trying to make an ios/android application on Flutterflow and am stuck when I need some API calls. Am I supposed to deploy a separate API app on Heroku and then integrate it with Flutterflow or is ...
Pratikshit Singh's user avatar
1 vote
0 answers
181 views

Flutter Riverpod project with laravel backend - Difficulties retrieving image from backend

I am developing flutter app using riverpod as state management and laravel framework for backend. Currently i am working on implementing logic for saving user profile picture by selecting it with ...
Atanas Nankinski's user avatar
0 votes
1 answer
618 views

ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: Failed to fetch team data

my code doesn't fetch any data from my database. Here is my code from flutter side TeamPage import 'dart:convert'; import 'package:crm/models/base_url.dart'; import 'package:crm/models/team.dart'; ...
Iman Alabid's user avatar
-4 votes
1 answer
30 views

How can I access the 'type' attribute from the 'students' array in the API response using Flutter, Laravel, and PHP? [duplicate]

"data": { "id": 9, "name": "tala", "role": "Student", "email": "[email protected]", "students"...
anna 's user avatar
1 vote
1 answer
97 views

Flutter: How to dynamically add a new textfield based on user selection?

So I want to add a new textfield after i select an option but since I'm new to flutter I can't figure it out on how to do it . SelectFieldBloc selectFieldBloc = SelectFieldBloc( name: ...
Priyanka Shakya's user avatar
1 vote
1 answer
83 views

How can I fix the issue of my Flutter app not showing API data?

This is a shopping app in Flutter and I create a controller, model, bindings and provider for fetching and showing API data in application. this is the controller: class ShopController extends ...
Mehedi Hasan Sumon's user avatar
0 votes
1 answer
53 views

How can I insert an array of user ids into a Laravel 9.0 events table for use in a Flutter API?

Laravel 9.0 inserting an array of values into another table I am trying to create a public event from events table and that event has many users associated with it from the users table. How can I save ...
osama suliman's user avatar
0 votes
1 answer
89 views

Flutter Exception "type 'String' is not a subtype of type 'int' of 'index'" when fetching filtered api data

I'm making an Android app with local Django Restful Api. I have 2 models in database, that are nested together, ShowsModel and DirectorModel. This is basically how my JSON looks like with GET function....
amyhawks's user avatar
0 votes
1 answer
96 views

How to insert data into SQL Server from both Flutter and ASP.NET at the same time then show data in control panel using asp.net

How to insert data into SQL Server from both Flutter and ASP.NET at the same time then show data in control panel using asp.net How to insert data into SQL Server from both Flutter and ASP.NET at the ...
1 vote
1 answer
172 views

Is it good practice to store client_id and client_secret on a flutter mobile application needed for Github OAuth Login?

I'm developing a Flutter application along with an API that will serve data to the app. For my login, I've gone with the Github's OAuth Apps. The flow that I follow is: Launch Chrome custom tabs for ...
konkri's user avatar
  • 205
0 votes
2 answers
126 views

How to display images in Flutter app from Django Rest API?

I have problems with displaying images, that are saved in my database in Django Rest API. This is my postman output for the API: [ { "id": 1, "name": "...
amyhawks's user avatar
1 vote
0 answers
39 views

How to fetch image from nested array of json in ListView builder in flutter?

I am having json of this format: "data": [ "images": [ { id: "1", imageUrl: "http....." }, { id: ...
Mohammad Mustafa Raza's user avatar
0 votes
1 answer
724 views

Error in Flutter Format Exception: Unexpected character (at character 1)

Hello everyone i am new flutter and currently i am working on a project on debug mode when i am adding data into my app i got this error Exception has occurred. FormatException (FormatException: ...
Usama Qadeer's user avatar
0 votes
1 answer
35 views

how to fetch files from RestApi flutter

I'm trying to get Image file from Rest Api to show it in CircleAvatar Here's the photo of the Api and I used Future for this: Future<Int8List> getProfileImg() async { final SharedPreferences ...
Sahal Saifuddin's user avatar

15 30 50 per page
1
2 3 4 5
119