Flutter app for viewing articles with the ability to browse by category and most popular entries using the News API
- Download the contents of this repository.
- Rename the “.env.example” file to “.env”.
- Save your API key generated here in the .env file.
- Download all dependencies using the “dart pub get” command.
- Generate the file containing your API key using “dart run build_runner clean” and “dart run build_runner build --delete-conflicting-outputs” commands as instructed here.
Note
To use data from the API, change the value of the "testing" variable in the Configuration class to false, otherwise the application will use locally generated data.
- Category images from Pexels.