browser_image_compression 1.0.4 copy "browser_image_compression: ^1.0.4" to clipboard
browser_image_compression: ^1.0.4 copied to clipboard

This plugin wraps a JavaScript library used for image compression and is specifically designed for use in Flutter Web.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add browser_image_compression

With Flutter:

 $ flutter pub add browser_image_compression

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

dependencies:
  browser_image_compression: ^1.0.4

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

Import it

Now in your Dart code, you can use:

import 'package:browser_image_compression/browser_image_compression.dart';
8
likes
0
pub points
72%
popularity

Publisher

verified publisherchampionsgoal.com

This plugin wraps a JavaScript library used for image compression and is specifically designed for use in Flutter Web.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cross_file, flutter, flutter_web_plugins, js, plugin_platform_interface

More

Packages that depend on browser_image_compression