Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Реактивные состояния #11

Merged
merged 8 commits into from
Jul 24, 2021
Merged

Реактивные состояния #11

merged 8 commits into from
Jul 24, 2021

Conversation

kltsv
Copy link
Owner

@kltsv kltsv commented Jul 24, 2021

  1. Для каждой из сущностей выделяем единое состояние: GameState, ItemsState, PaletteState.
  2. Заменяем ChangeNotifier на StreamController + State + Stream.
  3. Используем StreamBuilder для реактивного обновления UI.

@kltsv kltsv self-assigned this Jul 24, 2021
@kltsv kltsv merged commit c1b2ee5 into master Jul 24, 2021
@kltsv kltsv deleted the state_and_stream branch July 25, 2021 06:22
@kltsv kltsv restored the state_and_stream branch July 25, 2021 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant