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

Platformweb

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 Flutter:

 $ flutter pub add browser_image_compression

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

dependencies:
  browser_image_compression: ^1.1.0

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:browser_image_compression/browser_image_compression.dart';
8
likes
150
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

Documentation

API reference

License

MIT (license)

Dependencies

cross_file, flutter, flutter_web_plugins, js, plugin_platform_interface, universal_html

More

Packages that depend on browser_image_compression