httpclient flutter code example Example 1: flutter http dependencies: http: ^0.12.0+4 Example 2: import http flutter dependencies: http: ^0.12.2