Skip to content

Optimize usage of riverpod in sudoku #23

@huhx

Description

@huhx

I feel like there maybe have a better way to combine sudokuNotifier with counterNotifier.

  1. sudokuNotifier own gameStatus, when gameStatus is failed or success, it should notify counterNotifier stop timer get the duration.
  2. counterNotifier own the timer and durations, when receive notification from sudokuNotifier, it should stop timer.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions