flutter import http code example Example 1: flutter http dependencies: http: ^0.12.0+4 Example 2: http package flutter dependencies: http: ^0.12.1