sura_manager 1.5.0
sura_manager: ^1.5.0 copied to clipboard
ValueNotifier and ValueListenableBuilder but for asynchronous value.
We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/asurraa/sura_manager 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.
10/10 points: 20% or more of the public API has dartdoc comments
73 out of 118 API elements (61.9 %) have documentation comments.
Some symbols that are missing documentation: sura_manager, sura_manager.AsyncSubjectManager.AsyncSubjectManager.new, sura_manager.AsyncSubjectManager.hasData, sura_manager.AsyncSubjectManager.refresh, sura_manager.AsyncSubjectManager.stream.
10/10 points: Package has 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:sura_manager/sura_manager.dartthat imports:package:sura_manager/src/async_subject_manager.dartthat imports:package:sura_flutter/sura_flutter.dartthat imports:package:sura_flutter/src/utils/sura_utils.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/async_subject_manager.dart:66:8
╷
66 │ {reloading, onSuccess, onDone, onError, throwError}) async {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/async_subject_manager.dart
INFO: Missing type annotation.
lib/src/async_subject_manager.dart:66:19
╷
66 │ {reloading, onSuccess, onDone, onError, throwError}) async {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/async_subject_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
rxdart |
^0.27.0 |
0.27.7 | 0.28.0 | |
sura_flutter |
^1.1.0 |
1.4.2 | 1.4.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
intl |
- | 0.17.0 | 0.20.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
universal_platform |
- | 1.1.0 | 1.1.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 `^0.27.0` on rxdart does not support the stable version `0.28.0`.
Try running dart pub upgrade --major-versions rxdart 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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.