We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32637ad commit dd5b101Copy full SHA for dd5b101
packages/flutter_image_compress_web/lib/src/pica.dart
@@ -26,7 +26,7 @@ Future<Uint8List> resizeWithList({
26
int quality = 88,
27
}) async {
28
final Stopwatch stopwatch = Stopwatch()..start();
29
- final pica = jsWindow.pica() as Pica?;
+ final pica = window.pica() as Pica?;
30
if (pica == null) {
31
throw Exception(
32
'Pica not found. This plugin requires pica for image compression on the web. '
0 commit comments