mvvm_plus 1.2.0 mvvm_plus: ^1.2.0 copied to clipboard
MVVM+ is a lightweight Flutter implementation of MVVM, plus a locator for sharing states via a global registry (like GetIt) or inherited widgets (like Provider).
1.2.0 #
- Added FutureProperty and StreamProperty classes.
- Added Model.createFutureProperty() and Model.createStreamProperty() member functions.
- Added Model.createStreamProperty() and Model.createStreamProperty() member functions.
- Added check for whether View is mounted before calling setState.
- Refactored buildView to a name function.
- Renamed ViewWithStatelessViewModel to StatelessView.
- Improved example to show 10 counters.
- Added support for mixins for View class by exposing its underlying ViewState class.
- Adds View.getState member function.
- Updated Readme documentation.
1.1.0 #
- Added ViewModel.buildViewCalls to facilitate unit testing of ViewModels.
- fixed bug where
name
was ignored inViewModel.listenTo(name: name)
.
1.0.6 #
Edited the readme page.
1.0.5 #
Fixed ending to short video.
1.0.4 #
Reworked example. Added YouTube video to readme.
1.0.3 #
Updated readme with Medium article.
1.0.2 #
Fixed typo in readme.
1.0.1 #
Upgraded Bilocator.
1.0.0 #
- Added
createProperty
to ViewModel. - Migrated to
bilocator
fromregistrar
. (bilocator
isregistrar
renamed). - Changed parameter names to improve naming and to align
mvvm_plus
with the naming inbilocator
. - Breaking changes:
- Changed Registrar class to Bilocator class.
- Changed MultiRegistrar class to Bilocators.
- Changed View parameter name
viewModelBuilder
tobuilder
. - Moved ViewModel parameter
inherited
to View and change its name tolocation
. - Moved ViewModel parameter
name
to View.
0.6.0 #
Upgraded Registrar, which now supports Registrar "location" parameter.
0.5.0 #
Upgraded Registrar, which now supports locating inherited models on the widget tree.
0.4.2 #
Updated readme.
0.4.1 #
Fixed format.
0.4.0 #
Added Model. Added "notifier" parameter to listenTo to support listening to ValueNotifiers.
0.3.1 #
Corrected changelog.
0.3.0 #
Added ViewWithStatelessViewModel, View.get, View.listenTo, and more tests.
0.2.4 #
Added widget tests. Made listenTo return type generic.
0.2.2 #
Fixed example gif.
0.2.1 #
Updated readme with example.
0.2.0 #
Added View member functions context, mounted, didUpdateWidget, reassemble, deactivate, activate, and didChangeDependencies.
0.1.6 #
Updated description and readme.
0.1.5 #
Updated description to improve pub.dev search results.
0.1.4 #
Updated readme.
0.1.3 #
Fixed readme.
0.1.2 #
Change github visibility.
0.1.1 #
Updated pubspec.yam
0.1.0 #
Initial release.