task_06_package 0.0.1
task_06_package: ^0.0.1 copied to clipboard
Calculator and card
We analyzed this package 2 days ago, and awarded it 60 pub points (of a possible 160):
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.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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: GPL-3.0.
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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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
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.
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 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.