ecp_net 0.0.9 copy "ecp_net: ^0.0.9" to clipboard
ecp_net: ^0.0.9 copied to clipboard

基于 Dio 的网络请求二次封装库,提供统一错误处理、数据转换、请求状态回调、State 生命周期绑定等功能,内部项目通用的 Dart 网络请求工具库。

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ecp_net

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  ecp_net: ^0.0.9

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ecp_net/ecp_net.dart';
0
likes
115
points
39
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

基于 Dio 的网络请求二次封装库,提供统一错误处理、数据转换、请求状态回调、State 生命周期绑定等功能,内部项目通用的 Dart 网络请求工具库。

Homepage

License

MIT (license)

Dependencies

async, connectivity, dio, flutter, flutter_smart_dialog

More

Packages that depend on ecp_net