Powered by riverpod_simple_architecture ๐
A Flutter ๐ Riverpod-powered app for automated api requests, if you're a victim of server sleepdown during inactivity ๐ฑ.
- Multiple API calls to different server.
- Riverpod ๐ for state management.
- No ๐ซ authentication required.
- Multi-platform support.
- Install
git clone https://github.com/priyanshupatra02/flutter_api_refresher.git
run flutter pub get
- Add your .env file
- Add
.env
file in the root of the project.
BASE_URL = "<api_base_url>"
- Run ๐๐ป to generate the
env.g.dart
file
dart run build_runner build --delete-conflicting-outputs
-
Make changes in the
lib/features/counter/controller/dio_api_pod.dart
file. -
Go to main.dart and run the app app.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.