Saving Files to Application Folder and Gallery in Flutter

Project Setup:

AndroidManifest.xml
Info.plist

UI Code

  1. loading to indicate that the file is downloading
  2. progress to act as a progress value for LinearProgressIndicator

“saveVideo” Function

Android

Saving File to Photo Library on iOS

if (Platform.isIOS) {
await ImageGallerySaver.saveFile(saveFile.path,
isReturnPathOfIOS: true);
}

Voilà 💙

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Paras Jain

Paras Jain

Mobile Application and Web Developer | @Youtube Content Creator | Worship #reactjs #flutter #java #dart | youtube.com/retroportalstudio