This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Center( | |
child : Text("Hello World!"); | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:convert'; | |
import 'package:http/http.dart'; | |
import 'model.dart'; | |
class HttpService { | |
final String postsUrl = | |
"https://test.dabbawala.ml/mobileapi/vendor/getallitems.php"; | |
Future<List<Model>> getData() async { |