xue_hua_media_compression 1.3.3 copy "xue_hua_media_compression: ^1.3.3" to clipboard
xue_hua_media_compression: ^1.3.3 copied to clipboard

Cross-platform Flutter FFI plugin for image and video compression powered by Rust.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add xue_hua_media_compression

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  xue_hua_media_compression: ^1.3.3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:xue_hua_media_compression/xue_hua_media_compression.dart';