Flutter Youtube List From PHP - MySQL (using phpmyadmin)
Flutter youtube list view using PHP and MySQL by converting it into json and the parsing it in the Flutter app. You can also use json directly if You don't want to use PHP. (All of these work remotely so You can edit and change it.)
Packages Used
Update to the lastest version so that You don't face any errors.
Steps For Setting This Up:
- Create A SQL Table
CREATE TABLE `videosapp` (
`youtubeid` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE
videosapp
ADD PRIMARY KEY (youtubeid
);
COMMIT;
- Edit the videoapp.php file with Your credentials & table name and upload it to Your server.
- Finally change the link to php file in the list.dart file. Sample link has been provided Please don't misuse it in any way.
Screen Shots