dash_kit_network 3.8.0 dash_kit_network: ^3.8.0 copied to clipboard
The DashKit plugin that provides basic network functionality including token refresh.
We analyzed this package 3 days ago, and awarded it 110 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
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
261 out of 379 API elements (68.9 %) have documentation comments.
Some symbols that are missing documentation: dash_kit_network
, dash_kit_network.ApiClient.clearAuthTokens
, dash_kit_network.ApiClient.commonHeaders
, dash_kit_network.ApiClient.delegate
, dash_kit_network.ApiClient.delete
.
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:dash_kit_network/dash_kit_network.dart
that imports:package:dash_kit_network/src/token_storage.dart
that imports:package:flutter_secure_storage/flutter_secure_storage.dart
that imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart
that imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 23 issues. Showing the first 2:
WARNING: This API is available since SDK 2.16.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.
lib/src/api_client.dart:253:26
╷
253 │ return Error.throwWithStackTrace(refreshError, st);
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api_client.dart
WARNING: This API is available since SDK 2.16.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.
lib/src/api_client.dart:318:24
╷
318 │ return Error.throwWithStackTrace(
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api_client.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dio |
^5.1.1 |
5.4.3+1 | 5.4.3+1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_secure_storage |
^8.0.0 |
8.1.0 | 9.1.1 |
rxdart |
^0.27.7 |
0.27.7 | 0.27.7 |
shared_preferences |
^2.1.0 |
2.2.3 | 2.2.3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^8.0.0` on flutter_secure_storage does not support the stable version `9.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
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.