Read data from GitHub hosted json file in Flutter
Read data from GitHub hosted json file in Flutter
This is my first flutter tutorial, which explain how you can host and read json data from GitHub repository.
First up all you need to host json in GitHub Page , here is the complete guide. After that you can read the data using http package in Flutter.
First up all you need to specify the pubspec.yml settings as follows
dependencies: flutter: sdk: flutter http: ^0.12.0+2
Go to…
View On WordPress










