rxnet_plus 0.6.1 copy "rxnet_plus: ^0.6.1" to clipboard
rxnet_plus: ^0.6.1 copied to clipboard

Flexible network request framework with pluggable adapters (Dio, http, or custom), supporting various caching strategies

110/ 160
pub points
131
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

pubspec.yaml from the repository URL mismatch: expected https://github.com/zhengzaihong/rxnet but got https://github.com/ZhengZaiHong/rxnet.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: rxnet_plus,
    • contains a version property, and,
    • does not contain a publish_to property.

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

513 out of 792 API elements (64.8 %) have documentation comments.

Some symbols that are missing documentation: cache_mode, content_types, content_types.ContentTypes.csv, content_types.ContentTypes.eventStream, content_types.ContentTypes.formUrlEncoded.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:rxnet_plus/rxnet_plus.dart that imports:
  • package:rxnet_plus/ohos/messages.g.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:rxnet_plus/rxnet_plus.dart that imports:
  • package:rxnet_plus/ohos/messages.g.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. 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

Found 14 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/net/type/response_type.dart:6:1

  ╷
6 │ ///
  │ ^^^
  ╵

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

INFO: Dangling library doc comment.

lib/src/adapter/cancel_token.dart:1:1

   ╷
1  │ ┌ /// author: ZhengZaiHong
2  │ │ /// email:1096877329@qq.com
3  │ │ /// date: 2026-04-23 11:17
4  │ │ /// Token for cancelling network requests.
5  │ │ /// 
6  │ │ /// 用于取消网络请求的令牌。
7  │ │ /// 
8  │ │ /// This class provides a mechanism to cancel ongoing network requests.
9  │ │ /// When a request is cancelled, all registered callbacks will be notified.
10 │ │ /// 
11 │ │ /// 此类提供了取消正在进行的网络请求的机制。
12 │ │ /// 当请求被取消时,所有注册的回调都会被通知。
13 │ │ /// 
14 │ │ /// Example / 示例:
15 │ │ /// ```dart
16 │ │ /// final cancelToken = CancelToken();
17 │ │ /// 
18 │ │ /// // Start a request with cancel token
19 │ │ /// // 使用取消令牌启动请求
20 │ │ /// RxNet.get()
   │ └─^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/adapter/cancel_token.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
crypto ^3.0.2 3.0.7 3.0.7
dio ^5.8.0+1 5.9.2 5.9.2
http ^1.2.0 1.6.0 1.6.0
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.5 2.1.6 2.1.6
path_provider_platform_interface ^2.1.0 2.1.3 2.1.3
sembast ^3.7.4 3.8.9 3.8.9
sembast_web ^2.4.0+1 2.4.5 2.4.5
web ^1.1.1 1.1.1 1.1.1
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
code_assets - 1.2.1 1.2.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.2 2.1.2
ffi - 2.2.0 2.2.0
hooks - 2.0.2 2.0.2
http_parser - 4.1.2 4.1.2
idb_shim - 2.9.4 2.9.4
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.18.0 1.18.3
mime - 2.0.0 2.0.0
objective_c - 9.4.1 9.4.1
package_config - 2.2.0 3.0.0
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_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 0.6.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.1 3.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.4.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 4 errors:

  • UNDEFINED_CLASS - lib/utils/rx_net_database.dart:23:10 - Undefined class 'Database'.
  • UNDEFINED_CLASS - lib/utils/rx_net_database.dart:24:16 - Undefined class 'StoreRef'.
  • UNDEFINED_IDENTIFIER - lib/utils/rx_net_database.dart:24:51 - Undefined name 'StoreRef'.

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.44.2, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
110
points
131
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flexible network request framework with pluggable adapters (Dio, http, or custom), supporting various caching strategies

License

MIT (license)

Dependencies

crypto, dio, flutter, http, path, path_provider, path_provider_platform_interface, sembast, sembast_web, web

More

Packages that depend on rxnet_plus

Packages that implement rxnet_plus