title: How to change file path and save it to gallery
body: <p>I want to change the file.path.(according to this, the compressed file saved to android -&gt; data directory)</p>
  <pre><code> import 'dart:io';
   import 'package:video_compress/video_compress.dart';
      
      class CompressVideos {
        static Future&lt;MediaInfo?&gt; compressVideo(File file) async {
          try {
            await VideoCompress.setLogLevel(0);
      
            return VideoCompress.compressVideo(
              file.path,
              quality: VideoQuality.LowQuality,
              includeAudio: true,
            );
          } catch (e) {
            VideoCompress.cancelCompression();
          }
        }
      }
  </code></pre>
  <p>I want to save the compressed video to gallery.</p>
  <pre><code>Future compressVideo() async {
      showDialog(
        context: context,
        builder: (context) =&gt; const Dialog(
          child: ProgressDialog(),
        ),
        barrierDismissible: true,
      );
      final comprss = await CompressVideos.compressVideo(videoFile!);
  
      setState(() {
        compressedVideoDetails = comprss;
      });
      isVisible = false;
      Navigator.pop(context);
    }
  </code></pre>