dart http.get code example Example 1: flutter http dependencies: http: ^0.12.0+4 Example 2: http dart http: ^0.13.2