In this video, I am going to show you the proper way on how to upload images to MySql database through Flutter.
The technique shown in this video uses a REST API (written in PHP) to upload images and save it in a MySQL database. It does not use the usual file input element but rather uses JSON to transmit images/files to the server.
Once uploaded, it also retrieves the records including the image for each record and display it in the Flutter UI.