image_size_getter 2.1.2 copy "image_size_getter: ^2.1.2" to clipboard
image_size_getter: ^2.1.2 copied to clipboard

Get image width and height, the library does not completely decode the image file, just read the metadata to get the image width and height.

106
likes
110/ 140
pub points
97%
popularity

We analyzed this package 3 days ago, and awarded it 110 pub points (of a possible 140):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/CaiJingLong/dart_image_size_getter/tree/master/library was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

99 out of 106 API elements (93.4 %) have documentation comments.

Some symbols that are missing documentation: file_input, file_input.FileInput.file, image_size_getter, image_size_getter.MemoryInput, image_size_getter.MemoryInput.MemoryInput.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

WARNING: Doc directive is missing an opening tag.

lib/src/core/input.dart:35:5

   ╷
35 │ /// {@endtemplate}
   │     ^^^^^^^^^^^^^^
   ╵

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

WARNING: Doc directive is missing an opening tag.

lib/src/core/input.dart:119:5

    ╷
119 │ /// {@endtemplate}
    │     ^^^^^^^^^^^^^^
    ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.18.0
hashcodes ^2.0.0 2.0.0 2.0.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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

106
likes
110
pub points
97%
popularity

Publisher

verified publisherkikt.top

Get image width and height, the library does not completely decode the image file, just read the metadata to get the image width and height.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

collection, hashcodes

More

Packages that depend on image_size_getter