thinpic_flutter 0.0.6 copy "thinpic_flutter: ^0.0.6" to clipboard
thinpic_flutter: ^0.0.6 copied to clipboard

PlatformAndroid

A Flutter image compression library using the powerful C language VIPS library

150/ 160
pub points
44
downloads

We analyzed this package 4 hours ago, and awarded it 150 pub points (of a possible 160):

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://thinpic.com/ was unreachable. Make sure that the website is reachable via HEAD requests.

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

14 out of 45 API elements (31.1 %) have documentation comments.

Some symbols that are missing documentation: thinpic_flutter, thinpic_flutter.ImageFormat.fromValue, thinpic_flutter.ImageFormat.value, thinpic_flutter.ThinPicCompress, thinpic_flutter.ThinPicCompress.ThinPicCompress.new.

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 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:thinpic_flutter/thinpic_flutter.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:thinpic_flutter/thinpic_flutter.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:thinpic_flutter/thinpic_flutter.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:thinpic_flutter/thinpic_flutter.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:thinpic_flutter/thinpic_flutter.dart that declares support for platforms: Android.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:thinpic_flutter/thinpic_flutter.dart that imports:
  • package:thinpic_flutter/generated/thinpic_flutter_bindings_generated.dart that imports:
  • dart:ffi

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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: The constant name 'FORMAT_JPEG' isn't a lowerCamelCase identifier.

lib/src/file_types.dart:3:3

  ╷
3 │   FORMAT_JPEG(0),
  │   ^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/file_types.dart

INFO: The constant name 'FORMAT_WEBP' isn't a lowerCamelCase identifier.

lib/src/file_types.dart:5:3

  ╷
5 │   FORMAT_WEBP(2),
  │   ^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/file_types.dart

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 Notes
ffi ^2.1.3 2.1.4 2.1.4
path_provider ^2.1.5 2.1.5 2.1.5
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.21 2.2.21
path_provider_foundation - 2.4.4 2.4.4
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
vector_math - 2.2.0 2.2.0
xdg_directories - 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.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: