redux_undo 0.1.1+4
redux_undo: ^0.1.1+4 copied to clipboard
Make your redux store undo- and redoable. Inspired by the JS redux_undo package.
0.1.1+4 #
Important changes
- added abstract class
UndoableAction
which every pre-built action fromredux_undo
extends - removed the
size
member fromUndoableState
- added the
getSize
getter toUndoableState
- removed
UndoableInitAction
since the use-case does not exist anymore
Tests
- added tests for complete code coverage
Updates
- updated README
0.1.1+3 #
Important changes
- added generic types to the
UndoableState
class and helper functions
Fixes
- fixed a navigation-bug in the example
Updates
- updated dependency version
0.1.1+2 #
Updates
- updated dependency version
0.1.1+1 #
Critical Fix
- added new boolean getters to the
UndoableState
class:canUndo
andcanRedo
Updates
- reformatted some files with dartfrmt
- added the support for multiple screens to the example to showcase different use-cases in the future
0.1.0+3 #
Critical Fix
- 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
Updates
- reformatted some files with dartfrmt
0.1.0+2 #
- reformatted some files with dartfrmt
- added a bit of documentation
0.1.0+1 #
- Initial version