Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prime-infinity/flutter-riverpod
Experimenting with Riverpod flutter state management package
https://github.com/prime-infinity/flutter-riverpod
flutter riverpod
Last synced: about 10 hours ago
JSON representation
Experimenting with Riverpod flutter state management package
- Host: GitHub
- URL: https://github.com/prime-infinity/flutter-riverpod
- Owner: prime-infinity
- Created: 2024-10-27T11:40:25.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T09:50:45.000Z (2 months ago)
- Last Synced: 2024-11-24T02:14:40.988Z (2 months ago)
- Topics: flutter, riverpod
- Language: C++
- Homepage:
- Size: 528 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Riverpod Files: A Simple Flutter Project
This is a simple Flutter project that demonstrates the usage of the Riverpod state management library. This project was created to help you learn about Riverpod and its features.
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Dependencies](#dependencies)
- [Credits](#Credits)## Introduction
The Riverpod Files project is a basic Flutter application that showcases the usage of Riverpod for state management. It includes a home screen that displays a list of products, and a cart screen that allows users to add and remove products from their cart.
## Features
- Display a list of products
- Add products to the cart
- Remove products from the cart
- Calculate the total price of the cart## Getting Started
To get started with the Riverpod Files project, follow these steps:
1. Clone the repository:
`git clone https://github.com/your-username/prime-infinity/flutter-riverpod.git`
1. Navigate to the project directory:
`cd flutter-riverpod-tutorial-starter-project`
1. Install the dependencies:
`flutter pub get`
1. Run the app:
`flutter run`
## Usage
The Riverpod Files project consists of the following screens:
1. **Home Screen**:
- Displays a list of products.
- Allows users to add or remove products from the cart.
2. **Cart Screen**:
- Displays the list of products in the cart.
- Calculates the total price of the cart.To use the app, simply navigate between the home and cart screens, and interact with the products as needed.
## Dependencies
The Riverpod Files project uses the following dependencies:
- `flutter_riverpod`: ^2.1.3
- `riverpod_annotation`: ^2.0.0
- `riverpod_generator`: ^2.0.0## Credits
This project was made by following iamshaunjp riverpod tutorials
`https://github.com/iamshaunjp/flutter-riverpod-tutorial`## media
![home screen](image.png)
![cart](image-1.png)