mvvm 0.5.2
mvvm: ^0.5.2 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.5.2 #
- Optimized code
0.5.1 #
- Added
WriteableBindablePropertyclass
0.5.0 #
- Optimized code
0.4.0 #
- Refactoring
- Added
ViewBuildContextclass, which extends the function of buildingWidgetbased onBuildContext - Add
createViewModelmethod to viewView buildmethod in viewViewchanged tobuild(ViewBuildContext, TViewModel model)
0.3.0 #
- Add
pre-propertyto implement pre-use of non-existing keyBindablePropertyin viewView - Added
$.merge,$.mergeMapmethods for merging multipleValueListenableinto one - Added
$.watchAnyForMapmethod for monitoring multipleValueListenablechanges and merging values into a key-value collection - Removed
Keyproperty inBindableProperty - Optimized code
0.2.0 #
- Null safety support
0.1.9 #
- Optimized code
0.1.8 #
- Fix (Flutter v1.12.13+hotfix.8) error
0.1.7 #
- Update documentation
- Update APIs.md
0.1.6+1 #
- Update APIs.md
0.1.6 #
- Optimized code
0.1.5+1 #
- Update README.md
0.1.5 #
- View context
ViewContextaddsdispose,viewInit,viewReadymethods - View model
ViewModeladdsdispose,viewInit,viewReadymethods - View
Viewaddsdisposeandreadymethods, the originalbuildCoremethod is renamed tobuild, and the originalinitViewmethod is renamed toinit
0.1.4+1 #
- Add property key
propertyKeyto find the propertyPropertyis not found exception - Added task in view context
ViewContext - View
Viewadds "process pipeline" - Update example
0.1.4 #
- The binding property
BindablePropertyadds a callback method after thevalueChangedproperty value is changed - View context
ViewContextaddsadaptmethod, which is used to dynamically create binding properties adapted toWidgetinView - View context
ViewContextaddsgetValueForandsetValueFormethods, which are used to manually obtain or set bound property values ββinView - Update example, README.md
0.1.3+4 #
- Add
resetOnBeforeparameter ofAsyncViewModelPropertyclass
0.1.3+3 #
- Optimized code
0.1.3+2 #
- Code optimization
- Update example
0.1.3+1 #
- Optimized code
0.1.3 #
- Update documentation
- Add
analysis_options.yaml - The
property(..)method inViewModelis renamed topropertyValue(..), thepropertyAdaptivemethod removes theTAdapteeValuegeneric parameter TAdapteegeneric parameter constraint adjustment inValueNotifierAdapter- Update example
- Update README.md
0.1.2+1 #
- Add documentation
0.1.2 #
- Split view context
ViewContext - Update sample code
0.1.1 #
- Project information changes
0.1.0 #
- Initial project