fastimage 0.0.1 icon indicating copy to clipboard operation
fastimage: ^0.0.1 copied to clipboard

Dart library that finds the size and type of an image given its uri by fetching as little as needed.

5
likes
70/ 130
pub points
46%
popularity

We analyzed this package 14 days ago, and awarded it 70 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

icon indicating section status
Provide documentation
0 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 6 out of 34 API elements (17.6 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

icon indicating section status
Support multiple platforms
10 / 20icon to trigger folding of the section

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

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:fastimage/fastimage.dart that imports:
  • package:fastimage/src/fastimage.dart that imports:
  • package:fastimage/src/get_size_operation.dart that imports:
  • package:fastimage/src/utils/compute_stream.dart that imports:
  • dart:isolate
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 21 issues. Showing the first 2:

lib/fastimage.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/src/decoders/bmp_size_decoder.dart doesn't match the Dart formatter.

To format your files run: dart format .

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
meta>=1.2.0 <2.0.01.7.01.7.0

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

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.6.0 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.4, Dart 2.15.1.

5
likes
70
pub points
46%
popularity

Publisher

shield icon for verified publishersky1vstar.dev

Dart library that finds the size and type of an image given its uri by fetching as little as needed.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

meta

More

Packages that depend on fastimage