Example of an app architecture with riverpod state management.
In order to be able to run the app you'll need to setup an account with news api. You can create a free account.
Then just follow the steps:
- Get a key from news api account.
- Create a
.env
file in the project's root folder - Add the news api key to the
.env
file likenews_api_key=<YOUR_KEY>