riverpod_child_provider
Demo of how to use parent/child of statenotifier to reuse UI
Here's the magic line:
Text(
ref.watch(kennelProvider).dogState.produce(),
),
Demo of how to use parent/child of statenotifier to reuse UI
Here's the magic line:
Text(
ref.watch(kennelProvider).dogState.produce(),
),