on widget load assign img.file path in flutter code example Example: how to display an image in flutter using its filepath Image.file(File(path))