Flutter native http request dependency injection. We could use http_request for any different Flutter project. OpenWeather API Request example
In order to run the app, you need to follow the next steps
-
Install Flutter SDK
-
Clone and navigate to project root folder
git clone git@github.com:sh1l0n/flutter_native_httprequest.git
cd flutter_native_httprequest/
- Get flutter packages
chmod +x update.sh
./update.sh
- Put you OpenWeather api key inside assets/env.json file
- Compile on an Android device and enjoy :)