image 2.1.14

Dart native js
Flutter Android iOS web

Provides server and web apps the ability to load, manipulate, and save images with various image file formats including PNG, JPEG, GIF, BMP, WebP, TIFF, TGA, PSD, PVR, and OpenEXR.

162
likes
100 / 110
pub points
99 %
popularity

We analyzed this package on Aug 7, 2020, and awarded it 100 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

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

  • 502 out of 2398 API elements (20.9 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 22 issues. Showing the first 2:

INFO: Omit type annotations for local variables.

lib/src/formats/jpeg/jpeg_data.dart:286:5

    ╷
286 │     int initialBlockLength = block.length;
    │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/formats/jpeg/jpeg_data.dart

INFO: Omit type annotations for local variables.

lib/src/formats/jpeg/jpeg_data.dart:303:13

    ╷
303 │             InputBuffer buffer = block.peekBytes(8, offset);
    │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/formats/jpeg/jpeg_data.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
archive>=2.0.0 <3.0.02.0.132.0.13
xml>=4.2.0 <5.0.04.3.04.3.0
Transitive dependencies
PackageConstraintCompatibleLatest
args-1.6.01.6.0
charcode-1.1.31.1.3
collection-1.14.131.14.13
convert-2.1.12.1.1
crypto-2.1.52.1.5
meta-1.2.21.2.2
path-1.7.01.7.0
petitparser-3.1.03.1.0
typed_data-1.2.01.2.0

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

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

162
likes
100
pub points
99%
popularity

Provides server and web apps the ability to load, manipulate, and save images with various image file formats including PNG, JPEG, GIF, BMP, WebP, TIFF, TGA, PSD, PVR, and OpenEXR.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

Uploader

brendanduncan@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

archive, xml

More

Packages that depend on image