This is a Flutter application that serves as a starter template for using Riverpod in Flutter. It provides a basic structure and setup for using Riverpod, a state management solution for Flutter.
- State management using Riverpod
- Provider for retrieving package information
- Logging provider observer
- Responsive design using Sizer widget
- Error handling for Dio requests
- Basic UI using Flutter widgets
- Network connectivity check
- Local Database using ObjectBox
- Easy Internationalization
- Router using Go_Router
- Customizable theme ( light / dark ) with FlexSchemeTheme
To get started with this project, follow these steps :
-
Clone the repository:
git clone https://github.com/AnonX9/flutter_riverpod_starter.git --branch with_easy_l10n
-
Change into the project directory:
cd flutter_riverpod_starter
-
Install dependencies:
flutter pub get
-
Generate all rivepod files:
dart build_runner build --delete-conflicting-outputs
-
Generate documentation files:
flutter pub get dart doc .
You should see the following message at the end:
Success! Docs generated into /Users/me/projects/my_package/doc/api
Now, to see the documentation, use the following commands:
dart pub global activate dhttpd dart pub global run dhttpd --path doc/api
This application is meant to be a starter pack for any 'real-world' application developped in flutter. It offers basic features that are usually needed in applications along with a documentation.
Contributions are always welcome! Or you can simply make this whole project your own.If you'd like to contribute to this project, follow these steps:
-
Fork the repository:
- Go to https://github.com/your-username/flutter_riverpod_starter
- Click on the "Fork" button in the top-right corner
- Choose your GitHub account where you want to fork the repository
-
Clone the forked repository:
git clone https://github.com/your-username/flutter_riverpod_starter.git
-
Create a new branch:
git checkout -b feature/my-new-feature
-
Make your changes and commit them:
git add . git commit -m "Add a brief description of your changes"
-
Push your changes to your forked repository:
git push origin feature/my-new-feature
-
Submit your pull request and we could review it together ! ✨
This project is licensed under the MIT License - see the LICENSE file for details.
Thank you for using the Flutter Riverpod Starter project! If you have or feedback, please feel free to reach out.