With Riverpod, we can declare providers that contain complex logic or depend on other providers , all outside the widget tree. This is a great advantage over the Provider package and makes it easier to write widgets that only contain UI code.
Why use Riverpod?
With Riverpod, we can declare providers that contain complex logic or depend on other providers , all outside the widget tree. This is a great advantage over the Provider package and makes it easier to write widgets that only contain UI code.