redux_undo 0.1.1+4 copy "redux_undo: ^0.1.1+4" to clipboard
redux_undo: ^0.1.1+4 copied to clipboard

outdated

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 from redux_undo extends
  • removed the size member from UndoableState
  • added the getSize getter to UndoableState
  • 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 and canRedo

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 to Reducer<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
1
likes
0
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

2024.05.30 - 2025.04.24

Make your redux store undo- and redoable. Inspired by the JS redux_undo package.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta, redux

More

Packages that depend on redux_undo