mvvm 0.1.5+1 mvvm: ^0.1.5+1 copied to clipboard
A Flutter MVVM. It uses property-based data binding to establish a connection between the ViewModel and the View, and drives the View changes through the ViewModel.
0.1.5+1 #
- 更新 README.md
0.1.5 #
- 视图上下文
ViewContext
增加dispose
、viewInit
、viewReady
方法 - 视图模型
ViewModel
增加dispose
、viewInit
、viewReady
方法 - 视图
View
增加dispose
、ready
方法, 原有buildCore
方法更名为build
, 原有initView
方法更名为init
- 代码优化
- 增加列表示例
example/lib/example_list.dart
0.1.4+1 #
- 增加属性键
propertyKey
查找属性Property
未找到时异常 - 视图上下文
ViewContext
中增加任务功能 - 视图
View
增加"流程管线" - 代码优化
- 更新 example
0.1.4 #
- 绑定属性
BindableProperty
增加valueChanged
属性值变更后回调方法 - 视图上下文
ViewContext
增加adapt
辅助方法, 用于在View
中动态创建适配到Widget
的绑定属性 - 视图上下文
ViewContext
增加getValueFor
、setValueFor
辅助方法, 用于在View
中手动获取或设置绑定属性值 - 代码优化、完善文件头信息
- 更新 example、README.md
0.1.3+4 #
- 增加
AsyncViewModelProperty
类resetOnBefore
参数功能
0.1.3+3 #
- 代码优化
0.1.3+2 #
- 代码优化
- 更新 example
0.1.3+1 #
- 代码优化
0.1.3 #
- 完善代码注释文档
- 增加
analysis_options.yaml
ViewModel
中property(..)
方法重命名为propertyValue(..)
,propertyAdaptive
方法去除TAdapteeValue
泛型参数ValueNotifierAdapter
中TAdaptee
泛型参数约束调整- 更新 example
- 更新 README.md
0.1.2+1 #
- 增加代码注释文档
0.1.2 #
- 拆分视图上下文
ViewContext
功能 - 更新示例程序
0.1.1 #
- 项目信息变更
0.1.0 #
- 初始项目