Skip to content

Migrate riverpod remaining legacy state providers#720

Open
GustavoDcs wants to merge 4 commits into
mainfrom
refactor/migrate-riverpod-state-providers
Open

Migrate riverpod remaining legacy state providers#720
GustavoDcs wants to merge 4 commits into
mainfrom
refactor/migrate-riverpod-state-providers

Conversation

@GustavoDcs

Copy link
Copy Markdown
Collaborator

Description

This PR migrates the Riverpod usage from StateProvider (and legacy.dart) to NotifierProvider + Notifier, and fixes invalid_use_of_protected_member / invalid_use_of_visible_for_testing_member by keeping state inside Notifiers and exposing setter methods for external updates. Used as reference: PR #712 (HomeScreenTabController).

Changes

  • Addedd tests to ensure compatibility after migration.
  • Replace StateProvider with NotifierProvider in qaul_rpc and drop legacy.dart.
  • Migrate StateProvider in qaul_ui/lib to NotifierProvider and remove legacy.dart.

Evidence

Screenshot 2026-01-28 at 12 45 59

@GustavoDcs GustavoDcs requested a review from brenodt January 28, 2026 15:46
@GustavoDcs GustavoDcs self-assigned this Jan 28, 2026
@GustavoDcs GustavoDcs changed the title Refactor/migrate riverpod state providers Migrate riverpod remaining legacy state providers Jan 28, 2026
@GustavoDcs GustavoDcs added the dependencies Pull requests that update a dependency file label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant