suga_core 2.1.0 suga_core: ^2.1.0 copied to clipboard
Suga Core Package.
We analyzed this package 4 days ago, and awarded it 110 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 60 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://gitlab.com/sugadev/libs/frontend/core-flutter
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
6 out of 74 API elements (8.1 %) 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: suga_core
, suga_core.BaseViewModel
, suga_core.BaseViewModel.BaseViewModel
, suga_core.BaseViewModel.disposeState
, suga_core.BaseViewModel.handleError
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:suga_core/suga_core.dart
that imports:package:suga_core/src/http/oauth2/oauth2_manager.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/file_output_stub.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:suga_core/suga_core.dart
that imports:package:suga_core/src/http/oauth2/oauth2_manager.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/file_output_stub.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
/tmp/pana_NCFCKE/lib/src/http/http_client_wrapper.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_NCFCKE/lib/src/http/oauth2/credentials_storages/oauth2_credentials_shared_preferences_storage.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dio |
^4.0.6 |
4.0.6 | 5.7.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_secure_storage |
^5.0.2 |
5.1.2 | 9.2.2 |
logger |
^1.1.0 |
1.4.0 | 2.4.0 |
oauth2 |
^2.0.0 |
2.0.3 | 2.0.3 |
shared_preferences |
^2.0.13 |
2.3.3 | 2.3.3 |
synchronized |
^3.0.0+2 |
3.3.0+3 | 3.3.0+3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^5.0.2` on flutter_secure_storage does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions flutter_secure_storage
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.