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
WriteableBindableProperty
class
0.5.0 #
- Optimized code
0.4.0 #
- Refactoring
- Added
ViewBuildContext
class, which extends the function of buildingWidget
based onBuildContext
- Add
createViewModel
method to viewView
build
method in viewView
changed tobuild(ViewBuildContext, TViewModel model)
0.3.0 #
- Add
pre-property
to implement pre-use of non-existing keyBindableProperty
in viewView
- Added
$.merge
,$.mergeMap
methods for merging multipleValueListenable
into one - Added
$.watchAnyForMap
method for monitoring multipleValueListenable
changes and merging values into a key-value collection - Removed
Key
property 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
ViewContext
addsdispose
,viewInit
,viewReady
methods - View model
ViewModel
addsdispose
,viewInit
,viewReady
methods - View
View
addsdispose
andready
methods, the originalbuildCore
method is renamed tobuild
, and the originalinitView
method is renamed toinit
0.1.4+1 #
- Add property key
propertyKey
to find the propertyProperty
is not found exception - Added task in view context
ViewContext
- View
View
adds "process pipeline" - Update example
0.1.4 #
- The binding property
BindableProperty
adds a callback method after thevalueChanged
property value is changed - View context
ViewContext
addsadapt
method, which is used to dynamically create binding properties adapted toWidget
inView
- View context
ViewContext
addsgetValueFor
andsetValueFor
methods, which are used to manually obtain or set bound property values ββinView
- Update example, README.md
0.1.3+4 #
- Add
resetOnBefore
parameter ofAsyncViewModelProperty
class
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 inViewModel
is renamed topropertyValue(..)
, thepropertyAdaptive
method removes theTAdapteeValue
generic parameter TAdaptee
generic 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