dio_builder 3.0.3 copy "dio_builder: ^3.0.3" to clipboard
dio_builder: ^3.0.3 copied to clipboard

Dio builder is support plugin using dio, it helps to easy config dio in your project.

60/ 160
pub points
71
downloads

We analyzed this package 9 days ago, and awarded it 60 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 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

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

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

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

373 out of 557 API elements (67.0 %) have documentation comments.

Some symbols that are missing documentation: dio_builder, dio_builder.BackgroundTransformer.BackgroundTransformer.new, dio_builder.BaseOptions.BaseOptions.new, dio_builder.BaseOptions.contentType, dio_builder.BaseOptions.extra.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

ERROR: Instance member '_dio' can't be accessed using static access.

lib/dio_client.dart:19:39

   ╷
19 │     final response = await DioBuilder._dio.post<T>(
   │                                       ^^^^
   ╵

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

ERROR: Instance member '_dio' can't be accessed using static access.

lib/dio_client.dart:50:39

   ╷
50 │     final response = await DioBuilder._dio.delete<T>(
   │                                       ^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
chucker_flutter ^1.7.2 1.9.1 1.9.1
dio ^5.4.3+1 5.9.2 5.9.2
dio_http2_adapter ^2.5.2 2.7.0 2.7.0
dio_smart_retry ^6.0.0 6.0.0 7.0.1
pretty_dio_logger ^1.3.1 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
chopper - 8.5.1 8.5.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
cross_file - 0.3.5+2 0.3.5+2
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.1.2 2.1.2
equatable - 2.0.8 2.0.8
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
hooks - 1.0.3 1.0.3
http - 1.6.0 1.6.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
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.18.0
objective_c - 9.3.0 9.3.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.3.1 2.3.1
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
qs_dart - 1.7.4 1.7.4
record_use - 0.6.0 0.6.0
share_plus - 12.0.2 13.1.0
share_plus_platform_interface - 6.1.0 7.1.0
shared_preferences - 2.5.5 2.5.5
shared_preferences_android - 2.4.23 2.4.23
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
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
url_launcher_linux - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
uuid - 4.5.3 4.5.3
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
win32 - 5.15.0 6.1.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.

The constraint `^6.0.0` on dio_smart_retry does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions dio_smart_retry to update the constraint.

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 7 errors:

  • STATIC_ACCESS_TO_INSTANCE_MEMBER - lib/dio_client.dart:19:39 - Instance member '_dio' can't be accessed using static access.
  • STATIC_ACCESS_TO_INSTANCE_MEMBER - lib/dio_client.dart:50:39 - Instance member '_dio' can't be accessed using static access.
  • STATIC_ACCESS_TO_INSTANCE_MEMBER - lib/dio_client.dart:72:39 - Instance member '_dio' can't be accessed using static access.

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.12, Flutter 3.41.7, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
71
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dio builder is support plugin using dio, it helps to easy config dio in your project.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

chucker_flutter, dio, dio_http2_adapter, dio_smart_retry, flutter, pretty_dio_logger

More

Packages that depend on dio_builder

Packages that implement dio_builder