Solution: A Riverpod-Based Application

Review the solution for the riverpod-based app challenge.

We'll cover the following

Problem statement

This challenge is entirely state management and Riverpod based.

Build a stateful app with the help of StateProvider, where you will create two Providers that expose a state of the same type. You will decide to use either the String or Integer.

You will only complete the code for the controller files. The rest have already been completed for you.

Before you check the solution, please try it on your own.

Solution code

Get hands-on with 1400+ tech skills courses.