mvvm 0.1.5
mvvm: ^0.1.5 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 #
- 视图上下文
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 #
- 初始项目