// Use https://pub.dev/packages/gal, better than image_gallery_saver or gallery_saver // The plugin also support Android 11+ and desktop platforms. await Gal.putImage(path); await Gal.putVideo(path);ByteData byteData = await rootBundle.load('assets/images/example.png'); File file = await File('/storage/emulated/0/Android/media/<your app package>/<App title/folder>/example.png').create(recursive: true); await MediaStore.saveImage(byteData.buffer.asUint8List(byteData.offsetInBytes, byteData.lengthInBytes));