- Dependency Upgrades ###BREAKING:
- Removed
HistoryStateNotifier
check out thehistory_state_notifier
package
- Better documentation for
HistoryStateNotifier
- Added the possibility to transform states from the history before they get applied
- Added maxHistoryLength parameter to
HistoryStateNotifier
- Added a few helper methods to
HistoryStateNotifier
- You can now specify whether you want
HistoryStateNotifier
to add the initial state to the history by using a parameter in its constructor.
- Fixed: Stupid bug with undo history
HistoryStateNotifier
is now abstract- Fixed:
Viewmodel.init()
is no longer abstract
- New
HistoryStateNotifier
is like a normal StateNotifier but supports undo and redo functionality
init()
is now protected and optional
- Added
init()
method to Viewmodel - Added Repository base class
- Added Datasource base class (empty for now)
- Improved documentation
- Added Viewmodel Base Class