Features

这是谢大脚的一个私人工具包。将会持续更新包中的功能。

Getting started

flutter pub add xcc_utils_packages

Usage

To use this plugin, add xcc_utils_packages as a dependency in your pubspec.yaml file.


工具类:

  1. provider 的二次封装。使用详情见 Example 中的 lib/base_provider
  2. dio 网络请求的封装。使用详情见 Example 中的 lib/utils/network_request.dart
  3. 获取设备信息。
  4. 获取App信息。
  5. 本地缓存。
  6. 系统工具类。
    1. 张贴板 复制/粘贴。
    2. 软键盘 展示/隐藏/清除。
  7. 初始化工具类函数。

组件:

  1. WebView组件封装