tek_core_network_flutter 0.2.0
tek_core_network_flutter: ^0.2.0 copied to clipboard
A core networking package that provides a foundational setup for making API calls in Flutter services
We analyzed this package 1 hour ago, and awarded it 55 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://git.teko.vn/sale-channels/mobile-lab/tek_core_network_flutter was unreachable. Make sure that the website is reachable via HEAD requests.
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.2.0").
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.
0/10 points: 20% or more of the public API has dartdoc comments
8 out of 67 API elements (11.9 %) 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: tek_core_network_flutter, tek_core_network_flutter.APIClientConfiguration, tek_core_network_flutter.APIClientConfiguration.APIClientConfiguration.new, tek_core_network_flutter.APIClientConfiguration.baseUrl, tek_core_network_flutter.APIClientConfiguration.cancelRequestSupport.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
ERROR: The type 'DioExceptionType' isn't exhaustively matched by the switch cases since it doesn't match the pattern 'DioExceptionType.transformTimeout'.
lib/src/interceptor/error_interceptor.dart:11:5
╷
11 │ switch (err.type) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/interceptor/error_interceptor.dart
INFO: Missing type annotation.
lib/src/interceptor/refresh_token_interceptor.dart:48:25
╷
48 │ Future _retryRequests(token) async {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/interceptor/refresh_token_interceptor.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.7.0 |
5.11.1 | 5.11.1 | |
freezed |
^2.5.2 |
2.5.8 | 4.0.1 | |
freezed_annotation |
^2.4.4 |
2.4.4 | 3.1.0 | |
json_annotation |
^4.9.0 |
4.12.0 | 4.12.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 85.0.0 | 107.0.0 | |
analyzer |
- | 7.7.1 | 14.3.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
build |
- | 2.4.2 | 4.0.11 | |
build_config |
- | 1.3.3 | 1.3.3 | |
characters |
- | 1.4.1 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.1 | 3.1.13 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
package_config |
- | 2.2.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
pubspec_parse |
- | 1.6.0 | 1.6.0 | |
source_gen |
- | 2.0.0 | 4.3.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
watcher |
- | 1.2.1 | 1.2.1 | |
web |
- | 1.1.1 | 1.1.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.5.2` on freezed does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed to update the constraint.
The constraint `^2.4.4` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation 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.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.