flutter_file_compressor 0.0.7 copy "flutter_file_compressor: ^0.0.7" to clipboard
flutter_file_compressor: ^0.0.7 copied to clipboard

Flutter package for compressing image and video files, for Android and iOS

Flutter File Compressor #

Flutter File Compressor is a lightweight and efficient package for compressing images and videos in Flutter applications. It provides a simple API to compress files while maintaining aspect ratios, making it ideal for applications that need to manage file sizes effectively.

Features #

  • Compress images and videos.
  • Simple and easy-to-use API.
  • Supports both Android and iOS platforms.

Installation #

Add flutter_file_compressor to your Flutter project by adding the following line to your pubspec.yaml under dependencies:

dependencies:
  flutter_file_compressor: ^1.0.0

Usage #

await FlutterFileCompressor.compressFile(
        filePath: _filePath,
        quality: 70, //percent
        compressionType: CompressionType.image, //CompressionType.video
      )
4
likes
115
points
71
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package for compressing image and video files, for Android and iOS

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_image_compress, light_compressor

More

Packages that depend on flutter_file_compressor