unicreators / mvvm

A Flutter MVVM (Model-View-ViewModel) implementation. It uses property-based data binding to establish a connection between the ViewModel and the View, and drives the View changes through the ViewModel.
https://pub.dev/packages/mvvm
MIT License
134 stars 22 forks source link

English document #23

Open pishguy opened 1 year ago

pishguy commented 1 year ago

is there any English document here?

whats different between them? $build<TValue> When the value of the specified ValueListenable changes, use the builder to build the Widget

$buildOn<TValue> method When the value of the specified ValueListenable changes, use the builder to build the Widget

unicreators commented 1 year ago

https://pub.dev/documentation/mvvm/latest/mvvm/ValueWidgetBuilderMixin/$buildOn.html

@pishguy @buildOn uses the return result of the on function in the parameter to decide whether to build