6. Display the picture with an Image widget

If you take the picture successfully, you can then display the saved picture
using an Image widget. In this case, the picture is stored as a file on
the device.

Therefore, you must provide a File to the Image.file constructor.
You can create an instance of the File class by passing the path created in
the previous step.

Complete example

Play and pause a video

An introduction to integration testing