My flutter app uses the camera
package to take a photo, which I save to the application's data directory (obtained from path_provider
and the getApplicationDocumentsDirectory()
function).
How can I save this image file into the phone photo gallery? I've noticed the image_picker
package allows reading from the gallery, but how can I write to it?