v_base_framework 2.6.1 copy "v_base_framework: ^2.6.1" to clipboard
v_base_framework: ^2.6.1 copied to clipboard

An excellent basic library, the core functions include four:1. To do the second encapsulation of dio library, 2. Privacy permission application and exception handling, 3 MVVM framework underlying supp [...]

2.0.1 #

  • 1、首版、网络层和基础模块 包含有网络层处理(解析json、异常处理、请求封装等等)、精美打印日志的处理、tab页面的状态保存、MVVM架构支持、权限处理、toast封装、loading封装等等

2.0.2 #

  • 1、运行时权限工具
  • 2、appbar、centerDialog
  • 3、字体(出海使用)
  • 4、sharedPreference工具
  • 5、颜色工具

2.1.1 #

  • flutter sdk支持到3.13.1
  • 1、dio升级到5.3.2 ** 1.1、dioError宣布废弃,现在转为dioException,包括异常处理逻辑也更改
  • 1.2、代理类由IOHttpClientAdapter更改到IOHttpClientAdapter
  • 2、toast、permission_handler、oktoast、logger、plugin_platform_interface全部升级

2.1.2 #

  • appbarHelper增加leadingWidth

2.1.3 #

  • dio的post请求增加onSendProgress回调

2.1.5 #

  • 下载方法解析修改、logger的关联方法改成5个

2.2.0 #

  • initPageData方法的触发机制由人为延迟方案改为widget渲染完成

2.2.2 #

  • 相册、相机国际化、appbar默认不显示分割线、

2.2.3 #

  • appbar响应WillPopScope事件

2.3.3 #

  • 细化ios相册隐私权限、安卓版本判断更改

2.4.0 #

  • sdk兼容到3.16.2、AGP8.0的namespace、依赖升级

2.4.4 #

  • sdk兼容到3.22.1、依赖升级、gradle兼容问题解决、appbar更改、异常拦截国际化初始化、国际化配置加到网络配置中

2.5.3 #

  • sdk兼容到3.22.2、网络请求增加过滤code配置,用于部分code不弹toast和合理关闭loading、异常拦截逻辑更改、深拷贝方法、tree展开方法(青山使用过)

2.5.4 #

兼容如下数据结构,一般的需求是如果返回true就继续执行,false的要弹出后端的message
```
{
    "code": 1,
    "message": "操作成功",
    "requestId": "0b39cb66abfb455d",
    "result": true
}
```

2.5.5 #

  • request2Download方法修改,兼容最新的容错机制
  • loading支持可配置点物理返回按钮是否消失,默认点外边不消失,点返回消失

2.5.6 #

  • 异常时,也把data返回去,用于在异常下处理附加的data中的信息

2.5.8 #

  • 对于需要上传file(eg:img)的,网络层提供基于dio的MultipartFile转换

2.6.1 #

  • 申请权限处针对安卓磁盘读写权限增加高版本的适配,相机、相册权限可分开申请
  • 部分工具、组件导出,spinkit按需导出一个给Empty使用
  • 兼容到3.24.5,且跑通
1
likes
0
points
126
downloads

Publisher

unverified uploader

Weekly Downloads

An excellent basic library, the core functions include four:1. To do the second encapsulation of dio library, 2. Privacy permission application and exception handling, 3 MVVM framework underlying support, 4, other tools, specific documents can be viewed, and finally welcome to use

Homepage
View/report issues

License

unknown (license)

Dependencies

device_info_plus, dio, flutter, flutter_riverpod, flutter_spinkit, flutter_web_plugins, logger, mime, oktoast, permission_handler, plugin_platform_interface, shared_preferences, synchronized

More

Packages that depend on v_base_framework