photo_viewer library Null safety