5. Display the response on screen

To display the data on screen, use the
FutureBuilder widget.
The FutureBuilder widget comes with Flutter and
makes it easy to work with asynchronous data sources.
You must provide two parameters:

The Future you want to work with. In this case,
the future returned from the createAlbum() function.

A builder function that tells Flutter what to render,
depending on the state of the Future: loading,
success, or error.

Complete example

Parse JSON in the background

Update data over the internet