quantum_fetch 0.3.4
quantum_fetch: ^0.3.4 copied to clipboard
a flutter package to make api call.
We analyzed this package 5 days ago, and awarded it 105 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.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.3.4").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
253 out of 432 API elements (58.6 %) have documentation comments.
Some symbols that are missing documentation: quantum_fetch, quantum_fetch.APIResponse, quantum_fetch.APIResponse.APIResponse.fromDioResponse, quantum_fetch.APIResponse.APIResponse.fromError, quantum_fetch.APIResponse.APIResponse.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 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:quantum_fetch/quantum_fetch.dartthat imports:package:quantum_fetch/src/interceptors/request_body_intercepter.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
WARNING: The method doesn't override an inherited method.
lib/src/client/quantum_fetch_imp.dart:166:26
╷
166 │ Future<APIResponse<T>> postFormData<T>(
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client/quantum_fetch_imp.dart
INFO: The import of 'package:dio/dio.dart' is unnecessary because all of the used elements are also provided by the import of 'package:quantum_fetch/quantum_fetch.dart'.
lib/src/client/i_quantum_fetch.dart:1:8
╷
1 │ import 'package:dio/dio.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client/i_quantum_fetch.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.4.0 |
5.9.0 | 5.9.0 | |
dio_cache_interceptor |
^3.5.0 |
3.5.1 | 4.0.5 | |
http_parser |
^4.0.2 |
4.1.2 | 4.1.2 | |
mime |
any |
2.0.0 | 2.0.0 | |
pretty_dio_logger |
^1.3.1 |
1.4.0 | 1.4.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.5.0` on dio_cache_interceptor does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions dio_cache_interceptor 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.