- Fixed ViewWidget.get for fetching from registry.
- Fixed viewModel getter on didUpdateWidget.
- Fixed ReadMe.md images.
- Fixed bug where StreamProperty.value did not unsubscribe from previous stream.
- Added StreamProperty.dispose function which cancels stream subscription.
- Added StreamProperty.subscription getter to expose StreamSubscription.
- Cleaned up example.
- Updated ReadMe.
- Reformatted code to 80 chars wide.
- Upgraded bilocator to 1.6.0
- Cleanup of renaming of View to ViewModel and StatelessView to StatelessViewWidget.
- Renamed View to ViewWidget because of a name collision on the Flutter beta channel.
- Renamed StatelessView to StatelessViewWidget to be consistent with ViewWidget renaming.
- Removed unused
equatable
dependency.
- 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.
- Added ViewModel.buildViewCalls to facilitate unit testing of ViewModels.
- fixed bug where
name
was ignored inViewModel.listenTo(name: name)
.
Edited the readme page.
Fixed ending to short video.
Reworked example. Added YouTube video to readme.
Updated readme with Medium article.
Fixed typo in readme.
Upgraded Bilocator.
- 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.
Upgraded Registrar, which now supports Registrar "location" parameter.
Upgraded Registrar, which now supports locating inherited models on the widget tree.
Updated readme.
Fixed format.
Added Model. Added "notifier" parameter to listenTo to support listening to ValueNotifiers.
Corrected changelog.
Added ViewWithStatelessViewModel, View.get, View.listenTo, and more tests.
Added widget tests. Made listenTo return type generic.
Fixed example gif.
Updated readme with example.
Added View member functions context, mounted, didUpdateWidget, reassemble, deactivate, activate, and didChangeDependencies.
Updated description and readme.
Updated description to improve pub.dev search results.
Updated readme.
Fixed readme.
Change github visibility.
Updated pubspec.yam
Initial release.