flutter_image_compress 2.4.0 copy "flutter_image_compress: ^2.4.0" to clipboard
flutter_image_compress: ^2.4.0 copied to clipboard

Compress Pictures. Can effectively reduce the size of the transmission.

1.61k
likes
160/ 160
pub points
434k
downloads

We analyzed this package 6 days ago, and awarded it 160 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

21 out of 55 API elements (38.2 %) have documentation comments.

Some symbols that are missing documentation: flutter_image_compress, flutter_image_compress.CompressError, flutter_image_compress.CompressError.CompressError, flutter_image_compress.CompressError.message, flutter_image_compress.CompressFormat.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_image_compress/flutter_image_compress.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_image_compress/flutter_image_compress.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:flutter_image_compress/flutter_image_compress.dart that imports:
  • package:flutter_image_compress_platform_interface/flutter_image_compress_platform_interface.dart that imports:
  • package:flutter_image_compress_platform_interface/src/validator.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_image_compress/flutter_image_compress.dart that imports:
  • package:flutter_image_compress_platform_interface/flutter_image_compress_platform_interface.dart that imports:
  • package:flutter_image_compress_platform_interface/src/validator.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_image_compress_common ^1.0.5 1.0.6 1.0.6
flutter_image_compress_macos ^1.0.3 1.0.3 1.0.3
flutter_image_compress_ohos ^0.0.3 0.0.3 0.0.3
flutter_image_compress_platform_interface ^1.0.5 1.0.5 1.0.5
flutter_image_compress_web ^0.1.5 0.1.5 0.1.5
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Flutter 3.27.4, Dart 3.6.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
May 18Jun 15Jul 13Aug 10Sep 7Oct 5Nov 2Nov 30Dec 28Jan 25020k40k60k80k100k120k>=2.0.0-0 <3.0.0>=1.0.0-0 <2.0.0>=0.0.0-0 <1.0.0