mvvm 0.5.2 copy "mvvm: ^0.5.2" to clipboard
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 building Widget based on BuildContext
  • Add createViewModel method to view View
  • build method in view View changed to build(ViewBuildContext, TViewModel model)

0.3.0 #

  • Add pre-property to implement pre-use of non-existing key BindableProperty in view View
  • Added $.merge, $.mergeMap methods for merging multiple ValueListenable into one
  • Added $.watchAnyForMap method for monitoring multiple ValueListenable changes and merging values into a key-value collection
  • Removed Key property in BindableProperty
  • 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 adds dispose, viewInit, viewReady methods
  • View model ViewModel adds dispose, viewInit, viewReady methods
  • View View adds dispose and ready methods, the original buildCore method is renamed to build, and the original initView method is renamed to init

0.1.4+1 #

  • Add property key propertyKey to find the property Property 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 the valueChanged property value is changed
  • View context ViewContext adds adapt method, which is used to dynamically create binding properties adapted to Widget in View
  • View context ViewContext adds getValueFor and setValueFor methods, which are used to manually obtain or set bound property values ​​in View
  • Update example, README.md

0.1.3+4 #

  • Add resetOnBefore parameter of AsyncViewModelProperty 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 in ViewModel is renamed to propertyValue(..), the propertyAdaptive method removes the TAdapteeValue generic parameter
  • TAdaptee generic parameter constraint adjustment in ValueNotifierAdapter
  • 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
37
likes
150
points
33
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on mvvm