ikame_dio_client 1.0.0 copy "ikame_dio_client: ^1.0.0" to clipboard
ikame_dio_client: ^1.0.0 copied to clipboard

A powerful Http Client for Dart, which supports Interceptors, Refresh Token, Request Cancellation, Timeout etc.

105/ 160
pub points
19
downloads

We analyzed this package 4 hours ago, and awarded it 105 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.0").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

7 out of 149 API elements (4.7 %) 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: access_model, access_model.AccessModel, access_model.AccessModel.AccessModel.fromJson, access_model.AccessModel.AccessModel.fromRawJson, access_model.AccessModel.AccessModel.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'encryptedSharedPreferences' is deprecated and shouldn't be used. EncryptedSharedPreferences is deprecated and will be removed in v11. The Jetpack Security library is deprecated by Google. Your data will be automatically migrated to custom ciphers on first access. Remove this parameter - it will be ignored.

lib/interceptors/authorization_interceptor.dart:31:5

   ╷
31 │     encryptedSharedPreferences: true,
   │     ^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/interceptors/authorization_interceptor.dart

INFO: 'encryptedSharedPreferences' is deprecated and shouldn't be used. EncryptedSharedPreferences is deprecated and will be removed in v11. The Jetpack Security library is deprecated by Google. Your data will be automatically migrated to custom ciphers on first access. Remove this parameter - it will be ignored.

lib/interceptors/sso_authorization_interceptor.dart:29:5

   ╷
29 │     encryptedSharedPreferences: true,
   │     ^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/interceptors/sso_authorization_interceptor.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
dio ^5.7.0 5.9.2 5.9.2
flutter_secure_storage any 10.0.0 10.0.0
shared_preferences any 2.5.4 2.5.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.1.2 2.1.2
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
flutter_secure_storage_darwin - 0.2.0 0.2.0
flutter_secure_storage_linux - 3.0.0 3.0.0
flutter_secure_storage_platform_interface - 2.0.1 2.0.1
flutter_secure_storage_web - 2.1.0 2.1.0
flutter_secure_storage_windows - 4.1.0 4.1.0
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
mime - 2.0.0 2.0.0
native_toolchain_c - 0.17.6 0.17.6
objective_c - 9.3.0 9.3.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
shared_preferences_android - 2.4.21 2.4.21
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
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.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 6.0.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 8 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/interceptors/authorization_interceptor.dart:30:7 - The named parameter 'aOptions' isn't defined.
  • CONST_WITH_NON_CONST - lib/interceptors/authorization_interceptor.dart:30:17 - The constructor being called isn't a const constructor.
  • UNDEFINED_NAMED_PARAMETER - lib/interceptors/authorization_interceptor.dart:31:5 - The named parameter 'encryptedSharedPreferences' isn't defined.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
105
points
19
downloads

Documentation

API reference

Publisher

verified publisherhalinhit.com

Weekly Downloads

A powerful Http Client for Dart, which supports Interceptors, Refresh Token, Request Cancellation, Timeout etc.

Homepage

License

BSD-3-Clause (license)

Dependencies

dio, flutter, flutter_secure_storage, shared_preferences

More

Packages that depend on ikame_dio_client