Optimize usage of riverpod in sudoku
huhx opened this issue · comments
I feel like there maybe have a better way to combine sudokuNotifier with counterNotifier.
- sudokuNotifier own gameStatus, when gameStatus is failed or success, it should notify counterNotifier stop timer get the duration.
- counterNotifier own the timer and durations, when receive notification from sudokuNotifier, it should stop timer.