sample_dart_package 0.5.1 copy "sample_dart_package: ^0.5.1" to clipboard
sample_dart_package: ^0.5.1 copied to clipboard

unlisted

Sample Dart package with GitHub action to publish a new release on new commit on release branch

0
likes
60/ 140
pub points
0%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/alexrintt/sample-dart-package was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/alexrintt/sample-dart-package was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/alexrintt/sample-dart-package/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Documentation URL doesn't exist.

At the time of the analysis https://github.com/alexrintt/sample-dart-package was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: sample_dart_package,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

0 out of 3 API elements (0.0 %) 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.

Some symbols that are missing documentation: sample_dart_package, sample_dart_package.multiply, sample_dart_package.sum.

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
0 / 50trigger folding of the section

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

ERROR: A value of type 'num' can't be returned from the function 'sum' because it has a return type of 'void'.

lib/sample_dart_package.dart:2:10

  ╷
2 │   return x + y;
  │          ^^^^^
  ╵

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

ERROR: A value of type 'num' can't be returned from the function 'multiply' because it has a return type of 'void'.

lib/sample_dart_package.dart:6:10

  ╷
6 │   return x + y;
  │          ^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/sample_dart_package.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

No dependencies.

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.3.

Check the analysis log for details.

0
likes
60
pub points
0%
popularity

Publisher

unverified uploader

Sample Dart package with GitHub action to publish a new release on new commit on release branch

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (LICENSE)

More

Packages that depend on sample_dart_package