how to make http get request in flutter code example Example 1: flutter http dependencies: http: ^0.12.0+4 Example 2: http flutter http: ^0.12.2