How to send data from Flutter to PHP then to MySQL database

I am able to get data from MySQL to php and from PHP to my flutter app, I am also able to send data from php to MySQL database, but I am facing issues in sending data...

Flutter How to List Array with multiple children from JSON

i have a difficult time to parsing a value from json. i would like to create a ListView Builder with expansion and have a children inside expansion. i mean like below...

How to connect flutter to localhost mysql database

I want to connect a localhost mysql db to flutter but I'm failing to do so. I tried mysql1 with these connections: <pre><code>ConnectionSettings( host: '1...

noSuchMethodError: [] dynamic call of null Receive: null Argument[0]

I'm an amateur flutter mobile app developer, I am trying to display data from my database in my app but I am getting the above error <blockquote> noSuchMethodEr...

how to share image with text in flutter on whatsapp or else?

I used this code to fetch images from the MySQL database and show them on the container. will you please guide me on how to share this image with text? Or what plugin...

Trying to get a random quote from a php mysql, using flutter http

I am new to flutter and php, and am trying to get my flutter app to display a random quote generated on a php file. This php file in turn gets it's quote from a mysql...

Issue with Flutter Dio package

I'm using <a href="https://pub.dev/packages/dio" rel="nofollow noreferrer">Dio</a> package to retrieve data from my database(php and mySQL). The application was...

Flutter mysql1 package insert data problem

I am trying to save data to my mySQL database. I am using mysql1 package for this. I can connect to database but my insert method is not working. I know, I can...

Laravel and Flutter Notifications System

I Want to Build a Web App with Mobile App in one platform. So, Both of Them will use the Same Database which is MySQL. I want to use Laravel as backend and flutter for...

Flutter :setState() or markNeedsBuild() called during build

iam new to flutter and i have tried every solution for this ! and i dont know what to do more than that ! iam trying to get a shared preferences string but when i do t...

How to insert DateTime form flutter to PHP MySql using POST

I'm currently working on flutter with mysql and php. connection to my DB and flutter works fine. and when i insert String it works perfectly. but when i use <code>Date...

how to connect flutter desktop app to mysql database?

am trying to build an flutter standalone desktop application which should use local database for storing and manipulating data. how can i achieve this result?</...

Dart mysql insert placeholders in map

1) Is there some chance to insert huge placeholder via Map? <strong>Example:</strong> <pre><code>Map&lt;String, dynamic&gt; job = { 'status': 'test',...

Flutter: Scanned Path On Null

I'm trying to upload an image taken using the image picker package to my localhost server using a PHP API. When the picture is taken, a message in the debug console ap...

Flutter - Why is Future returning Instance of Future&lt;String&gt; and not the data from my php file

Here is the Future function that should return the data in my php file <pre><code> Future displayLg_name() async { var url = Uri.http( &quot...