task_06_package 0.0.1 copy "task_06_package: ^0.0.1" to clipboard
task_06_package: ^0.0.1 copied to clipboard

Calculator and card

60/ 160
pub points
1
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: GPL-3.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

8 out of 34 API elements (23.5 %) have documentation comments.

Some symbols that are missing documentation: card, card.MyApp, card.MyApp.MyApp.new, card.MySample, card.MySample.MySample.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

ERROR: The named parameter 'primary' isn't defined.

lib/card.dart:103:27

    ╷
103 │                           primary: const Color(0xff1b447b),
    │                           ^^^^^^^
    ╵

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

INFO: The variable name 'CreditCardBrand' isn't a lowerCamelCase identifier.

lib/card.dart:62:44

   ╷
62 │                 onCreditCardWidgetChange: (CreditCardBrand) {},
   │                                            ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/card.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
flutter_credit_card ^3.0.4 3.0.7 4.1.0
units_converter ^2.0.1 2.1.1 3.0.4
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
vector_math - 2.2.0 2.2.0

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

The constraint `^3.0.4` on flutter_credit_card does not support the stable version `4.0.0`.

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

The constraint `^2.0.1` on units_converter does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions units_converter 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 1 error:

  • UNDEFINED_NAMED_PARAMETER - lib/card.dart:103:27 - The named parameter 'primary' isn't defined.

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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
60
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Calculator and card

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, flutter_credit_card, units_converter

More

Packages that depend on task_06_package