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

playx_network is a Wrapper around Dio that can perform api request with better error handling and easily get the result of any api request.

90/ 160
pub points
3.19k
downloads

We analyzed this package in the last hour, and awarded it 90 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

386 out of 649 API elements (59.5 %) have documentation comments.

Some symbols that are missing documentation: playx_network, playx_network.ApiException.ApiException.new, playx_network.BackgroundTransformer.BackgroundTransformer.new, playx_network.BaseOptions.BaseOptions.new, playx_network.BaseOptions.contentType.

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

ERROR: The type 'DioExceptionType' isn't exhaustively matched by the switch cases since it doesn't match the pattern 'DioExceptionType.transformTimeout'.

lib/src/handler/api_handler.dart:446:31

    ╷
446 │           networkExceptions = switch (error.type) {
    │                               ^^^^^^
    ╵

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

Passed report section
Support up-to-date dependencies
40 / 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.9.2 5.11.0 5.11.0
dio_smart_retry ^7.0.1 7.0.1 7.0.1
dio_web_adapter ^2.1.2 2.2.1 2.2.1
playx_core ^1.0.0 1.0.0 1.0.0
sentry_dio ^9.16.0 9.25.0 9.25.0
talker ^5.1.16 5.1.20 5.1.20
talker_dio_logger ^5.1.16 5.1.20 5.1.20
Transitive dependencies
Package Constraint Compatible Latest Notes
ansicolor - 2.0.3 2.0.3
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
code_assets - 1.2.1 1.2.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
equatable - 2.1.0 2.1.0
ffi - 2.2.0 2.2.0
ffi_leak_tracker - 0.1.2 0.1.2
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_dotenv - 6.0.1 6.0.1
flutter_secure_storage - 10.3.1 10.3.1
flutter_secure_storage_darwin - 0.3.2 0.4.0
flutter_secure_storage_linux - 3.0.1 3.0.1
flutter_secure_storage_platform_interface - 2.0.2 2.0.2
flutter_secure_storage_web - 2.1.1 2.1.1
flutter_secure_storage_windows - 4.2.2 4.2.2
get_it - 9.2.1 9.2.1
hooks - 2.0.2 2.1.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
jni - 1.0.2 1.0.2
jni_flutter - 1.0.2 1.0.2
jni_util - 1.0.0 1.0.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.19.0
mime - 2.0.0 2.0.0
objective_c - 9.5.0 9.5.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
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
record_use - 0.6.0 1.0.0
sentry - 9.25.0 9.25.0
shared_preferences - 2.5.5 2.5.5
shared_preferences_android - 2.4.27 2.4.27
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
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
string_scanner - 1.4.1 1.4.1
talker_logger - 5.1.20 5.1.20
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.6.0 4.6.0
vector_math - 2.2.0 2.4.1
web - 1.1.1 1.1.1
win32 - 6.3.0 6.3.0
worker_manager - 7.2.9 7.2.9
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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.14, Flutter 3.44.5, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
90
points
3.19k
downloads

Documentation

API reference

Publisher

verified publisherplayx.sourcya.io

Weekly Downloads

playx_network is a Wrapper around Dio that can perform api request with better error handling and easily get the result of any api request.

Homepage
Repository (GitHub)
View/report issues

Topics

#playx #dio #network #api

License

MIT (license)

Dependencies

dio, dio_smart_retry, dio_web_adapter, flutter, playx_core, sentry_dio, talker, talker_dio_logger

More

Packages that depend on playx_network