Async UI: Async / await

LoadData() async {
  String dataURL = "https://jsonplaceholder.typicode.com/posts";
  http.Response response = await http.get(dataURL);
  setState(() {
    widgets = json.decode(response.body);
  });
}

Related concepts

Async UI: Async / await — Structure map

Clickable & Draggable!

Async UI: Async / await — Related pages: