All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
support for string-based actions- possibility to only make a part of the state undoable
- more examples and documentation
- released version 1.0
- Moved package to Flutter Community
- added abstract class
UndoableAction
which every pre-built action fromredux_undo
extends - added the
getSize
getter toUndoableState
- added tests for complete code coverage
- updated README
- removed
UndoableInitAction
since the use-case does not exist anymore - removed the
size
member fromUndoableState
- added generic types to the
UndoableState
class and helper functions
- fixed a navigation-bug in the example
- updated dependency version
- updated dependency version
- added new boolean getters to the
UndoableState
class:canUndo
andcanRedo
- added the support for multiple screens in the example to showcase different use-cases in the future
- reformatted some files with dartfrmt
- added a new helper function
UndoableState createUndoableState(dynamic state)
to initiate the UndoableState on init
- renamed
undoableReducer
toReducer<UndoableState> createUndoableReducer(dynamic reducer, { UndoConfig config })
to keep naming consistent - reformatted some files with dartfrmt
- added a bit of documentation
- reformatted some files with dartfrmt
- Initial release version