dash_kit_network 4.0.0 dash_kit_network: ^4.0.0 copied to clipboard
The DashKit plugin that provides basic network functionality including token refresh.
We analyzed this package 18 hours ago, and awarded it 120 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 378 API elements (69.0 %) 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
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 19 issues. Showing the first 2:
INFO: 'DioError' is deprecated and shouldn't be used. Use DioException instead. This will be removed in 6.0.0.
lib/src/api_client.dart:254:22
╷
254 │ if (error is DioError &&
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api_client.dart
INFO: 'DioError' is deprecated and shouldn't be used. Use DioException instead. This will be removed in 6.0.0.
lib/src/api_client.dart:268:22
╷
268 │ if (error is DioError &&
│ ^^^^^^^^
╵
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.