cat_avatar_generator 0.1.0 copy "cat_avatar_generator: ^0.1.0" to clipboard
cat_avatar_generator: ^0.1.0 copied to clipboard

Generate awesome cat avatars from mails, names, anything on fly!

55/ 160
pub points
48
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Partially passed check 5/10 points: Use an OSI-approved license

Detected licenses: CC-BY-4.0, BSD-3-Clause.

The following license are not OSI-approved: `CC-BY-4.0`.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

10 out of 15 API elements (66.7 %) have documentation comments.

Some symbols that are missing documentation: cat_avatar_generator, cat_avatar_generator.Meowatar, cat_avatar_generator.Meowatar.Meowatar.new, cat_avatar_generator.MeowatarImage, cat_avatar_generator.MeowatarImage.load.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 7 issues. Showing the first 2:

ERROR: Undefined class 'DecoderCallback'.

lib/cat_avatar_generator.dart:100:48

    ╷
100 │   ImageStreamCompleter load(MeowatarImage key, DecoderCallback decode) {
    │                                                ^^^^^^^^^^^^^^^
    ╵

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

ERROR: Undefined class 'DecoderCallback'.

lib/cat_avatar_generator.dart:108:50

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

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

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

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

Package Constraint Compatible Latest Notes
image ^3.1.1 3.3.0 4.8.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.9
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
xml - 6.6.1 6.6.1

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

The constraint `^3.1.1` on image does not support the stable version `4.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_CLASS - lib/cat_avatar_generator.dart:100:48 - Undefined class 'DecoderCallback'.
  • UNDEFINED_CLASS - lib/cat_avatar_generator.dart:108:50 - Undefined class 'DecoderCallback'.
  • UNDEFINED_METHOD - lib/cat_avatar_generator.dart:121:23 - The method 'hashValues' isn't defined for the type 'MeowatarImage'.

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.23.10, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
55
points
48
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Generate awesome cat avatars from mails, names, anything on fly!

Repository (GitHub)
View/report issues

License

CC-BY-4.0, BSD-3-Clause (license)

Dependencies

flutter, image

More

Packages that depend on cat_avatar_generator