Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tayyabmughal676/riverpod_v2_flutter
Flutter Riverpod Annotation example
https://github.com/tayyabmughal676/riverpod_v2_flutter
dart dio flutter flutter-apps flutter-examples flutter-ui flutter-widget riverpod riverpod-examples riverpod-generator riverpod-tutorial
Last synced: 27 days ago
JSON representation
Flutter Riverpod Annotation example
- Host: GitHub
- URL: https://github.com/tayyabmughal676/riverpod_v2_flutter
- Owner: tayyabmughal676
- Created: 2023-06-29T04:17:52.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-30T11:03:29.000Z (about 1 year ago)
- Last Synced: 2023-10-31T08:42:49.890Z (about 1 year ago)
- Topics: dart, dio, flutter, flutter-apps, flutter-examples, flutter-ui, flutter-widget, riverpod, riverpod-examples, riverpod-generator, riverpod-tutorial
- Language: Dart
- Homepage: https://www.youtube.com/parholikhocs
- Size: 487 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Flutter App
This is a template for a Flutter project, organized using Riverpod for state management.
## Project Structure
- `lib`: The main directory of your project.
- `app`: Contains the app configuration and routing.
- `data`: Includes data-related files such as repositories, models, and services.
- `presentation`: Contains all UI-related files, organized by screens, widgets, themes, common
components, and providers.# My Flutter App
This is a template for a Flutter project, organized using Riverpod for state management.
## Project Structure
```plaintext
lib/
|- main.dart
|- app/
| |- app.dart
| |- routes.dart
|- data/
| |- repositories/
| | |- my_entries_repository.dart
| |- models/
| | |- entry.dart
| |- services/
| | |- api_service.dart
|- presentation/
| |- screens/
| | |- home_screen.dart
| |- widgets/
| | |- entry_list_widget.dart
| |- themes/
| |- common/
| |- providers/
| | |- my_entries_providers.dart
|- utils/
```## Project Components
- **ApiService**: A class responsible for fetching data from an API.
- **MyEntriesRepository**: A repository class that handles data retrieval and error handling.
- **MyEntriesProviders**: Riverpod providers for managing the app's state.
- **HomeScreen**: The main screen of the app that displays a list of entries.
- **EntryListWidget**: A widget that displays a list of entries.
## How to Run the App
1. Clone the repository:
2. Install dependencies:
3. Run the app:
## Contributing
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
1. Fork the project.
2. Create your feature branch: `git checkout -b feature/your-feature-name`.
3. Commit your changes: `git commit -m 'Add some feature'`.
4. Push to the branch: `git push origin feature/your-feature-name`.
5. Submit a pull request.## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Contact
For any inquiries or feedback, please contact [your email address].