album_image 0.0.3+1 copy "album_image: ^0.0.3+1" to clipboard
album_image: ^0.0.3+1 copied to clipboard

Album Image is based in photo_manager package and has the same concept as image_picker, whether it is Android or iOS.

11
likes
80/ 160
pub points
58%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger 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

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

115 out of 127 API elements (90.6 %) have documentation comments.

Some symbols that are missing documentation: album_image, album_image.AlbumImagePicker, album_image.AlbumImagePicker.AlbumImagePicker, album_image.AlbumImagePicker.centerTitle, album_image.AlbumImagePicker.emptyAlbumThumbnail.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:album_image/album_image.dart that imports:
  • package:album_image/src/album_image_picker.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:album_image/album_image.dart that imports:
  • package:album_image/src/album_image_picker.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:album_image/album_image.dart that imports:
  • package:album_image/src/album_image_picker.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

ERROR: Undefined class 'DecoderCallback'.

lib/src/widgets/thumbnail_path.dart:20:48

   ╷
20 │   ImageStreamCompleter load(ThumbnailPath key, DecoderCallback decode) {
   │                                                ^^^^^^^^^^^^^^^
   ╵

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

ERROR: Undefined class 'DecoderCallback'.

lib/src/widgets/thumbnail_path.dart:27:50

   ╷
27 │   Future<ui.Codec> _loadAsync(ThumbnailPath key, DecoderCallback decode) async {
   │                                                  ^^^^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

0/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
photo_manager ^2.7.1 2.8.2 3.6.2
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

The constraint `^2.7.1` on photo_manager does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions photo_manager to update the constraint.

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_CLASS - lib/src/widgets/thumbnail_path.dart:20:48 - Undefined class 'DecoderCallback'.
  • UNDEFINED_CLASS - lib/src/widgets/thumbnail_path.dart:27:50 - Undefined class 'DecoderCallback'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

11
likes
80
pub points
58%
popularity

Publisher

verified publisherphvit.blogspot.com

Album Image is based in photo_manager package and has the same concept as image_picker, whether it is Android or iOS.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, photo_manager

More

Packages that depend on album_image